Fixing quoting with chroot wrapper calls.
This commit is contained in:
parent
33ef1c4ce7
commit
9b7193de8e
|
@ -11,7 +11,7 @@ set -e
|
|||
|
||||
Chroot ()
|
||||
{
|
||||
COMMANDS="${1}"
|
||||
COMMANDS="${@}"
|
||||
|
||||
# Executing commands in chroot
|
||||
Echo_debug "Executing: ${COMMANDS}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue