diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-24 08:47:42 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | f2734daf0a9519db6b303683d3ac413a20d56e2a (patch) | |
tree | 6d9d0c85e7141243e0b40adcd847d1cc7c479448 /helpers/lh_source_debian | |
parent | 81a76d4adc812c16be8238fedda25bd43ab3a379 (diff) | |
download | live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz |
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_source_debian')
-rwxr-xr-x | helpers/lh_source_debian | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index 8e60000..8811fa6 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 |