diff options
author | Runciter | 2024-03-31 19:52:10 +0800 |
---|---|---|
committer | Runciter | 2024-03-31 19:52:10 +0800 |
commit | a6f833087a0220b1487cb5a4550f0b0d22ba55ec (patch) | |
tree | b806e6274813f56cf84dd48be31aa1ccb317c455 /pre-inst-env.in | |
download | whispers-command-a6f833087a0220b1487cb5a4550f0b0d22ba55ec.tar.gz |
Initial.
A .gitignore
A AUTHORS
A COPYING
A ChangeLog
A HACKING
A Makefile.am
A NEWS
A README
A README.org
A build-aux/test-driver.scm
A configure.ac
A doc/whispers.texi
A guix.scm
A hall.scm
A pre-inst-env.in
A scripts/whispers.in
A whispers.scm
A whispers/hconfig.scm
Diffstat (limited to 'pre-inst-env.in')
-rw-r--r-- | pre-inst-env.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in new file mode 100644 index 0000000..31c499d --- /dev/null +++ b/pre-inst-env.in @@ -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 "$@" |