From 5dc113a55160faf4b687a10b213f4924b07b57b3 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Mon, 22 Nov 2010 11:20:16 +0100
Subject: fixed auto scripts parameter handling (needs upstream fix, too!)

---
 auto/build  | 4 ++--
 auto/config | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/auto/build b/auto/build
index 7b7e26b..cd4e151 100755
--- a/auto/build
+++ b/auto/build
@@ -58,12 +58,12 @@ if [ "$LB_KANOTIX_TMPFS" = "true" ]; then
        rsync -a .. . --exclude=tmpfs
        # build
        prebuild
-       time lb build noauto ${@} 2>&1 | tee binary.log
+       time lb build noauto "${@}" 2>&1 | tee binary.log
        postbuild
        cd ..
 else
        prebuild
-       time lb build noauto ${@} 2>&1 | tee binary.log
+       time lb build noauto "${@}" 2>&1 | tee binary.log
        postbuild
 fi
 
diff --git a/auto/config b/auto/config
index 008ef18..10a58c7 100755
--- a/auto/config
+++ b/auto/config
@@ -36,7 +36,7 @@ lb config noauto \
 	--mirror-binary ${MIRROR_BINARY} \
 	--mirror-binary-security ${MIRROR_BINARY_SECURITY} \
 	--binary-indices true \
-	${@}
+	"${@}"
 
 # hostname and username are configured in config/chroot_local-includes/etc/live/config.conf
 #lb config noauto \
-- 
cgit v1.0