summaryrefslogtreecommitdiff
path: root/modules/env.in
diff options
context:
space:
mode:
Diffstat (limited to 'modules/env.in')
-rw-r--r--modules/env.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/env.in b/modules/env.in
new file mode 100644
index 0000000..c2325a2
--- /dev/null
+++ b/modules/env.in
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+GUILE_LOAD_PATH=@abs_top_srcdir@/modules:$GUILE_LOAD_PATH
+if test "@abs_top_srcdir@" != "@abs_top_builddir@"; then
+ GUILE_LOAD_PATH=@abs_top_builddir@/modules:$GUILE_LOAD_PATH
+fi
+GUILE_LOAD_COMPILED_PATH=@abs_top_builddir@/modules:$GUILE_LOAD_PATH
+PATH=@abs_top_builddir@/bin:$PATH
+
+export GUILE_LOAD_PATH
+export GUILE_LOAD_COMPILED_PATH
+export PATH
+
+exec "$@"