summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
Diffstat (limited to 'env')
-rwxr-xr-xenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/env b/env
new file mode 100755
index 000000000..32387182d
--- /dev/null
+++ b/env
@@ -0,0 +1,5 @@
+#!/bin/bash
+thisdir=$(cd $(dirname $0) && pwd)
+export GUILE_LOAD_PATH=$thisdir/module${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}
+export LD_LIBRARY_PATH=$thisdir/src${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+exec "$@"