From 342d2870ebe66fc987bbb6523c67885631eb0e00 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 15 Jan 2008 08:25:29 +0100 Subject: Consistently using the pipe as seperator in sed commands now. --- functions/packageslists.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions/packageslists.sh') diff --git a/functions/packageslists.sh b/functions/packageslists.sh index 1ef64e348..cdec22c5d 100755 --- a/functions/packageslists.sh +++ b/functions/packageslists.sh @@ -34,9 +34,9 @@ Expand_packagelist_file () shift shift - for INCLUDE in $(sed -ne 's/^# \(.*\)/\1/gp' "${FILE}"); + for INCLUDE in $(sed -ne 's|^# \(.*\)|\1|gp' "${FILE}"); do Expand_packagelist "${INCLUDE}" "${@}" done - sed -ne 's/^\([^#].*\)/\1\n/gp' "${FILE}" + sed -ne 's|^\([^#].*\)|\1\n|gp' "${FILE}" } -- cgit v1.2.3