Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.

This commit is contained in:
Daniel Baumann 2009-12-18 09:45:29 +01:00
parent ae99460947
commit d8e7520325
1 changed files with 1 additions and 1 deletions

View File

@ -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}" ]