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