From 783088bf04dc2cb141a1e8d03914b4545c475c3c Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Thu, 19 Nov 2009 13:12:25 +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 b347a6b..4c30895 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -60,7 +60,7 @@ fi
 if [ "${LH_ARCHIVE_AREAS}" != "main" ]
 then
 	# Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
-	DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | 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