summaryrefslogtreecommitdiff
path: root/helpers/lh_source_debian
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 /helpers/lh_source_debian
parente8e4001524ee6fa47ce7ffe06da39b6d43e065d2 (diff)
downloadlive-build-342d2870ebe66fc987bbb6523c67885631eb0e00.zip
live-build-342d2870ebe66fc987bbb6523c67885631eb0e00.tar.gz
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'helpers/lh_source_debian')
-rwxr-xr-xhelpers/lh_source_debian6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian
index d1d025c..5e7fc89 100755
--- a/helpers/lh_source_debian
+++ b/helpers/lh_source_debian
@@ -98,15 +98,15 @@ rm -f chroot/root/dpkg-selection.txt
# Sort sources
for DSC in chroot/*.dsc
do
- SOURCE="$(sed -n 's/^Source: //p' ${DSC})"
+ SOURCE="$(sed -n 's|^Source: ||p' ${DSC})"
case "${SOURCE}" in
lib?*)
- LETTER="$(echo ${SOURCE} | sed 's/\(....\).*/\1/')"
+ LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')"
;;
*)
- LETTER="$(echo ${SOURCE} | sed 's/\(.\).*/\1/')"
+ LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')"
;;
esac