summaryrefslogtreecommitdiff
path: root/helpers/lh_source_debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitf2734daf0a9519db6b303683d3ac413a20d56e2a (patch)
tree6d9d0c85e7141243e0b40adcd847d1cc7c479448 /helpers/lh_source_debian
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadvyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
Replacing backticks with POSIX expression.
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 8e600007d..8811fa6f1 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