mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Fix uninstalled-env bug that put prebuilt/ in front
* meta/uninstalled-env.in (top_builddir): Fix bug whereby meta/uninstalled-env run within meta-uninstalled-env, as happens sometimes, would move the prebuilt dir to the front.
This commit is contained in:
parent
ed39782c2a
commit
e264117e1b
1 changed files with 2 additions and 7 deletions
|
@ -80,17 +80,12 @@ then
|
||||||
fi
|
fi
|
||||||
export GUILE_LOAD_PATH
|
export GUILE_LOAD_PATH
|
||||||
|
|
||||||
if test "x$GUILE_LOAD_COMPILED_PATH" = "x"; then
|
for d in "/prebuilt/@host@" "/bootstrap" "/module" "/guile-readline"
|
||||||
GUILE_LOAD_COMPILED_PATH="${top_srcdir}/prebuilt/@host@"
|
|
||||||
else
|
|
||||||
GUILE_LOAD_COMPILED_PATH="${top_srcdir}/prebuilt/@host@:$GUILE_LOAD_COMPILED_PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for d in "/bootstrap" "/module" "/guile-readline"
|
|
||||||
do
|
do
|
||||||
# This hair prevents double inclusion.
|
# This hair prevents double inclusion.
|
||||||
# The ":" prevents prefix aliasing.
|
# The ":" prevents prefix aliasing.
|
||||||
case x"$GUILE_LOAD_COMPILED_PATH" in
|
case x"$GUILE_LOAD_COMPILED_PATH" in
|
||||||
|
x) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}" ;;
|
||||||
x*${top_builddir}${d}:*) ;;
|
x*${top_builddir}${d}:*) ;;
|
||||||
x*${top_builddir}${d}) ;;
|
x*${top_builddir}${d}) ;;
|
||||||
*) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}:$GUILE_LOAD_COMPILED_PATH" ;;
|
*) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}:$GUILE_LOAD_COMPILED_PATH" ;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue