summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-02-01 04:46:23 +0100
committerJonas Smedegaard <dr@jones.dk>2017-02-01 04:46:23 +0100
commit1e96e64e12a553323acc81079b239fd3858b0b42 (patch)
tree8a34db9e758160cd81ac310e9287cf724a2d0a13
parent84c50e2f76a32514f601576a8f31661cbd26249b (diff)
Fix expand LD_LIBRARY_PATH. Thanks to Josua Mayer.
-rwxr-xr-xskel/multistrap-hooks/completion_50_configscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/multistrap-hooks/completion_50_configscript.sh b/skel/multistrap-hooks/completion_50_configscript.sh
index ac69624..aa54217 100755
--- a/skel/multistrap-hooks/completion_50_configscript.sh
+++ b/skel/multistrap-hooks/completion_50_configscript.sh
@@ -44,7 +44,7 @@ if [ "$arch" != "$arch_host" ]; then
fi
if [ -n "${FAKEROOTKEY:-}" ] && [ "${FAKECHROOT:-}" != "true" ]; then
PATH=/usr/sbin:/usr/bin:/sbin:/bin \
- LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+LD_LIBRARY_PATH:}/usr/lib/$multiarch/libfakeroot" \
+ LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/lib/$multiarch/libfakeroot" \
${qemu:+QEMU_LD_PREFIX="$fs"} \
proot -r "$fs" -b /proc -b /sys -b /dev ${qemu:+-q "$qemu"} -w / /multistrap-configure.sh
else