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. --- helpers/lh_source_debian | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers/lh_source_debian') diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index d1d025c8f..5e7fc89a8 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 -- cgit v1.2.3