diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-05-26 07:37:38 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-05-26 07:37:38 -0400 |
commit | 255fbd76234e0411a9e95b7b80a28bf79c8dfff1 (patch) | |
tree | 7c9bb0b1fe38e8202f9586bfba4e6d9933180237 /pre-inst-env.in |
First 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..881f142 --- /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`" + +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" +export PATH="$abs_top_builddir/scripts:$PATH" + +exec "$@" |