summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-06-27 22:47:06 +0200
committerAndy Wingo <wingo@pobox.com>2016-06-27 22:47:06 +0200
commite264117e1b73cfbc70f863bb964653dd9ed7a83e (patch)
tree1b3e4e7675909cda67428e79bb0652499020b490 /meta
parented39782c2a000c1e3f49c314e2f71bd9de64a694 (diff)
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.
Diffstat (limited to 'meta')
-rw-r--r--meta/uninstalled-env.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/uninstalled-env.in b/meta/uninstalled-env.in
index 7197eabee..ff32902d0 100644
--- a/meta/uninstalled-env.in
+++ b/meta/uninstalled-env.in
@@ -80,17 +80,12 @@ then
fi
export GUILE_LOAD_PATH
- if test "x$GUILE_LOAD_COMPILED_PATH" = "x"; then
- 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"
+ for d in "/prebuilt/@host@" "/bootstrap" "/module" "/guile-readline"
do
# This hair prevents double inclusion.
# The ":" prevents prefix aliasing.
case x"$GUILE_LOAD_COMPILED_PATH" in
+ x) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}" ;;
x*${top_builddir}${d}:*) ;;
x*${top_builddir}${d}) ;;
*) GUILE_LOAD_COMPILED_PATH="${top_builddir}${d}:$GUILE_LOAD_COMPILED_PATH" ;;