summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pre-inst-env.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in
index 5727ddf..0eb7cb2 100644
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -19,9 +19,15 @@
abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`"
abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
-GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
-GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
-export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
+export GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
+export GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
+
+if [ -n "$LOCAL_CHICKADEE" ]
+then
+ export GUILE_LOAD_PATH=$LOCAL_CHICKADEE:$GUILE_LOAD_PATH
+ export GUILE_LOAD_COMPILED_PATH=$LOCAL_CHICKADEE:$GUILE_LOAD_COMPILED_PATH
+ export CHICKADEE_DATADIR=$LOCAL_CHICKADEE/data
+fi
PATH="$abs_top_builddir/scripts:$PATH"
export PATH