From 819f3d7e43ade200c8b3a0cb0b198246cd59c62b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Nov 2010 23:04:05 +0100 Subject: Applying slightly modified patch from Michael Hudson to make arguments in debootstrap calls more robust. --- scripts/build/lb_bootstrap_debootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/lb_bootstrap_debootstrap b/scripts/build/lb_bootstrap_debootstrap index 2e68a0e..7f5dbe6 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}" ] -- cgit v1.0