mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
(TEST_SUITE_DIR): Fix bug: Use `top_srcdir'.
(GUILE_LOAD_PATH): No longer include $top_srcdir.
This commit is contained in:
parent
ec5e172228
commit
ae84ee626e
1 changed files with 3 additions and 4 deletions
|
@ -13,22 +13,21 @@ set -e
|
||||||
|
|
||||||
# this script runs in the top-level build-dir.
|
# this script runs in the top-level build-dir.
|
||||||
top_builddir=`pwd`
|
top_builddir=`pwd`
|
||||||
|
|
||||||
top_srcdir=@top_srcdir@
|
top_srcdir=@top_srcdir@
|
||||||
|
|
||||||
TEST_SUITE_DIR=$top_builddir/test-suite
|
TEST_SUITE_DIR=${top_srcdir}/test-suite
|
||||||
|
|
||||||
if [ x"$1" = x-i ] ; then
|
if [ x"$1" = x-i ] ; then
|
||||||
guile=$2
|
guile=$2
|
||||||
guile_opts=
|
guile_opts=
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
GUILE_LOAD_PATH=$TEST_SUITE_DIR
|
|
||||||
else
|
else
|
||||||
guile=${top_srcdir}/pre-inst-guile
|
guile=${top_srcdir}/pre-inst-guile
|
||||||
guile_opts="${top_builddir}"
|
guile_opts="${top_builddir}"
|
||||||
GUILE_LOAD_PATH=${top_builddir}:$TEST_SUITE_DIR
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
GUILE_LOAD_PATH=$TEST_SUITE_DIR
|
||||||
export GUILE_LOAD_PATH
|
export GUILE_LOAD_PATH
|
||||||
|
|
||||||
if [ -f "$guile" -a -x "$guile" ] ; then
|
if [ -f "$guile" -a -x "$guile" ] ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue