diff options
author | Daniel Baumann <daniel@debian.org> | 2010-11-29 23:04:05 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:37 +0100 |
commit | 92f134138c6242da5784a45607559f6548bfcb11 (patch) | |
tree | aa96728f83717f5dd2ab6929e76f3f23c9f89d77 | |
parent | aa456e33b51912a7a37bdb84f4aec1e53aa37cc9 (diff) | |
download | vyos-live-build-92f134138c6242da5784a45607559f6548bfcb11.tar.gz vyos-live-build-92f134138c6242da5784a45607559f6548bfcb11.zip |
Applying slightly modified patch from Michael Hudson <michael.hudson@canonical.com> to make arguments in debootstrap calls more robust.
-rwxr-xr-x | scripts/build/lb_bootstrap_debootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap index 25028889b..c25a7695d 100755 --- a/scripts/build/lb_bootstrap_debootstrap +++ b/scripts/build/lb_bootstrap_debootstrap @@ -55,13 +55,13 @@ mkdir -p chroot # Setting debootstrap options if [ -n "${LB_ARCHITECTURE}" ] then - DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch ${LB_ARCHITECTURE}" + DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURE}" fi if [ "${LB_ARCHIVE_AREAS}" != "main" ] then # Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas - DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LB_ARCHIVE_AREAS} | sed -e 's| |,|g')" + DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components=$(echo ${LB_ARCHIVE_AREAS} | sed -e 's| |,|g')" fi if [ -n "${LB_BOOTSTRAP_CONFIG}" ] |