[SCM] debian-live/live-helper branch, master, updated. 1.0_a37-2-60-g9b7193d

Daniel Baumann daniel at debian.org
Sun Feb 24 14:20:07 UTC 2008


The following commit has been merged in the master branch:
commit 9b7193de8e306645baf75b792d05841f9fb7876a
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 24 15:19:41 2008 +0100

    Fixing quoting with chroot wrapper calls.

diff --git a/functions/chroot.sh b/functions/chroot.sh
index 17c5f36..63151db 100755
--- a/functions/chroot.sh
+++ b/functions/chroot.sh
@@ -11,7 +11,7 @@ set -e
 
 Chroot ()
 {
-	COMMANDS="${1}"
+	COMMANDS="${@}"
 
 	# Executing commands in chroot
 	Echo_debug "Executing: ${COMMANDS}"
diff --git a/functions/wrapper.sh b/functions/wrapper.sh
index b47e3b9..0d38ed6 100755
--- a/functions/wrapper.sh
+++ b/functions/wrapper.sh
@@ -13,11 +13,11 @@ Apt ()
 {
 	case "${LH_APT}" in
 		apt|apt-get)
-			Chroot "apt-get ${APT_OPTIONS} ${@}"
+			Chroot apt-get ${APT_OPTIONS} ${@}
 			;;
 
 		aptitude)
-			Chroot "aptitude ${APTITUDE_OPTIONS} ${@}"
+			Chroot aptitude ${APTITUDE_OPTIONS} ${@}
 			;;
 	esac
 }

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list