summaryrefslogtreecommitdiff
path: root/pre-inst-env.in
blob: 5298282f2ad8c49b012e32b4cc8e4a9991c44047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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"

PATH="$abs_top_builddir/scripts:$PATH"
export PATH

exec "$@"