Fixing quoting with chroot wrapper calls.

This commit is contained in:
Daniel Baumann 2008-02-24 15:19:41 +01:00
parent 33ef1c4ce7
commit 9b7193de8e
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ set -e
Chroot () Chroot ()
{ {
COMMANDS="${1}" COMMANDS="${@}"
# Executing commands in chroot # Executing commands in chroot
Echo_debug "Executing: ${COMMANDS}" Echo_debug "Executing: ${COMMANDS}"

View File

@ -13,11 +13,11 @@ Apt ()
{ {
case "${LH_APT}" in case "${LH_APT}" in
apt|apt-get) apt|apt-get)
Chroot "apt-get ${APT_OPTIONS} ${@}" Chroot apt-get ${APT_OPTIONS} ${@}
;; ;;
aptitude) aptitude)
Chroot "aptitude ${APTITUDE_OPTIONS} ${@}" Chroot aptitude ${APTITUDE_OPTIONS} ${@}
;; ;;
esac esac
} }