Add pre-inst-env
This commit is contained in:
parent
c302065af2
commit
b930cf2e5a
2 changed files with 13 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -50,7 +50,6 @@
|
|||
/doc/version-*.texi
|
||||
/m4/*
|
||||
/pre-inst-env
|
||||
/pre-inst-env.in
|
||||
/test-env
|
||||
/test-tmp
|
||||
/tests/*.trs
|
||||
|
|
13
pre-inst-env.in
Normal file
13
pre-inst-env.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
||||
|
||||
PATH="$abs_top_builddir/scripts:$PATH"
|
||||
export PATH
|
||||
|
||||
exec "$@"
|
Loading…
Reference in a new issue