summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-18 09:45:29 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:49 +0100
commitd8e7520325794cf6754c56a914d63a4d57495200 (patch)
tree9686df40c72f161609df0628ac8c95013b9d8531 /helpers/lh_bootstrap_debootstrap
parentae99460947223b6db0f9b26c967bc1866c80c4d9 (diff)
downloadlive-build-d8e7520325794cf6754c56a914d63a4d57495200.zip
live-build-d8e7520325794cf6754c56a914d63a4d57495200.tar.gz
Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index 3f977b5..d9fcdd0 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -60,7 +60,7 @@ fi
if [ "${LH_CATEGORIES}" != "main" ]
then
# Modify categories to remove leading/trailing whitespaces and replace other whitepspace with commas
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_CATEGORIES} | sed -E -e 's/^[ \t]*//;s/[ \t]*$//' -e 's/[ \t]+/,/g')"
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
fi
if [ -n "${LH_BOOTSTRAP_CONFIG}" ]