summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_debootstrap
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-10 00:24:07 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commitcb7809fc83cacb87cb8efa66f272fa3eda94390e (patch)
treebc6beded6d0739735587f5f38f58f1e6b2f199a0 /helpers/lh_bootstrap_debootstrap
parentb6e8bde6d55e231185fdc39a501734feafbb6afd (diff)
downloadlive-build-cb7809fc83cacb87cb8efa66f272fa3eda94390e.zip
live-build-cb7809fc83cacb87cb8efa66f272fa3eda94390e.tar.gz
Replace spaces in LH_BOOTSTRAP_{IN,EX}CLUDE variables with commas on use. Thanks to Cyril Brulebois <cyril.brulebois@kerlabs.com>. (Closes: #490114)
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index 12b9743..194a545 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -74,12 +74,12 @@ fi
if [ -n "${LH_BOOTSTRAP_INCLUDE}" ]
then
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --include=${LH_BOOTSTRAP_INCLUDE}"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --include=$(echo ${LH_BOOTSTRAP_INCLUDE} | sed 's| *|,|g')"
fi
if [ -n "${LH_BOOTSTRAP_EXCLUDE}" ]
then
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=${LH_BOOTSTRAP_EXCLUDE}"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LH_BOOTSTRAP_EXCLUDE} | sed 's| *|,|g')"
fi
if [ "${LH_USE_FAKEROOT}" != "enabled" ]