From d8e7520325794cf6754c56a914d63a4d57495200 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Dec 2009 09:45:29 +0100 Subject: Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions. --- helpers/lh_bootstrap_debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ] -- cgit v1.0