Allow alternate binaries than guile.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5746 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-10-30 01:30:16 +00:00
parent 9aac6d6fd0
commit 52f7d4ddcc

View File

@ -6,11 +6,15 @@ export LTDL_LIBRARY_PATH="${LTDL_LIBRARY_PATH}:${GNC_MODULE_PATH}:@-GNC_LIB_INST
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GNC_MODULE_PATH}:@-GNC_LIB_INSTALLDIR-@"
GUILE="@-GUILE-@"
if test "${GNC_GUILE}"x != x; then
if test "${GNC_SCRIPT}"x != x; then
GUILE="${GNC_GUILE}"
fi
export GUILE
if test "${GNC_SCRIPT}"x != x; then
exec ${GNC_SCRIPT} "$@"
fi
exec ${GUILE} -s "$0" "$@"
!#