summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-09-26 16:11:26 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-09-26 16:11:26 -0400
commit4a8141e8844c138b9185da0a7833893cbebcfb43 (patch)
tree92832786f24857fc42ed4a75f49835d253e15fe1
parent9977f51fe4e5abb3fdec54b67be131047bd54f9b (diff)
Change dev mode environment variable name.
-rw-r--r--pre-inst-env.in4
-rw-r--r--starling/config.scm2
2 files changed, 3 insertions, 3 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in
index 0eb7cb2..0d3b6a4 100644
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -29,7 +29,7 @@ then
export CHICKADEE_DATADIR=$LOCAL_CHICKADEE/data
fi
-PATH="$abs_top_builddir/scripts:$PATH"
-export PATH
+export PATH="$abs_top_builddir/scripts:$PATH"
+export STARLING_DEV_MODE="1"
exec "$@"
diff --git a/starling/config.scm b/starling/config.scm
index aec8bb0..3880e7f 100644
--- a/starling/config.scm
+++ b/starling/config.scm
@@ -24,4 +24,4 @@
#:export (developer-mode?))
(define developer-mode?
- (equal? (getenv "DEV_MODE") "1"))
+ (equal? (getenv "STARLING_DEV_MODE") "1"))