summaryrefslogtreecommitdiff
path: root/functions/packageslists.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-01-15 08:25:29 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:35:39 +0100
commit342d2870ebe66fc987bbb6523c67885631eb0e00 (patch)
tree6d9332db2197bb7b54e3e3b97f83474cd2430e56 /functions/packageslists.sh
parente8e4001524ee6fa47ce7ffe06da39b6d43e065d2 (diff)
downloadvyos-live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.tar.gz
vyos-live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.zip
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'functions/packageslists.sh')
-rwxr-xr-xfunctions/packageslists.sh4
1 files changed, 2 insertions, 2 deletions
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/^#<include> \(.*\)/\1/gp' "${FILE}");
+ for INCLUDE in $(sed -ne 's|^#<include> \(.*\)|\1|gp' "${FILE}");
do
Expand_packagelist "${INCLUDE}" "${@}"
done
- sed -ne 's/^\([^#].*\)/\1\n/gp' "${FILE}"
+ sed -ne 's|^\([^#].*\)|\1\n|gp' "${FILE}"
}