diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-06-29 01:51:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-07-25 00:20:57 +0200 |
commit | c9e1ea1d8cf2daab752b6073eeab5a328d7964ec (patch) | |
tree | 8458bc2f29f088cb651fb06b3f30785811d338ac /pre-inst-env.in |
Initial commit.
Diffstat (limited to 'pre-inst-env.in')
-rw-r--r-- | pre-inst-env.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in new file mode 100644 index 0000000..cfafd48 --- /dev/null +++ b/pre-inst-env.in @@ -0,0 +1,10 @@ +#!/bin/sh + +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 + +exec "$@" |