diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-18 09:45:29 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:49 +0100 |
commit | d8e7520325794cf6754c56a914d63a4d57495200 (patch) | |
tree | 9686df40c72f161609df0628ac8c95013b9d8531 | |
parent | ae99460947223b6db0f9b26c967bc1866c80c4d9 (diff) | |
download | live-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.
-rwxr-xr-x | helpers/lh_bootstrap_debootstrap | 2 |
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}" ] |