summaryrefslogtreecommitdiff
path: root/helpers/lh_source_debian
diff options
context:
space:
mode:
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