summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-packageslists
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_chroot_local-packageslists
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadlive-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_chroot_local-packageslists')
-rwxr-xr-xhelpers/lh_chroot_local-packageslists8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_local-packageslists b/helpers/lh_chroot_local-packageslists
index bd615e3..2c03f3c 100755
--- a/helpers/lh_chroot_local-packageslists
+++ b/helpers/lh_chroot_local-packageslists
@@ -55,21 +55,21 @@ then
for PACKAGESLIST in config/chroot_local-packageslists/*
do
# Generate package list
- Expand_packagelist "`basename ${PACKAGESLIST}`" "config/chroot_local-packageslists" "${LH_BASE:-/usr/share/live-helper/lists}/lists" > chroot/root/"`basename ${PACKAGESLIST}`"
+ Expand_packagelist "$(basename ${PACKAGESLIST})" "config/chroot_local-packageslists" "${LH_BASE:-/usr/share/live-helper/lists}/lists" > chroot/root/"$(basename ${PACKAGESLIST})"
# Installing package list
case "${LH_APT}" in
apt|apt-get)
- Chroot "xargs --arg-file=/root/`basename ${PACKAGESLIST}` apt-get install --yes"
+ Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) apt-get install --yes"
;;
aptitude)
- Chroot "xargs --arg-file=/root/`basename ${PACKAGESLIST}` aptitude install --assume-yes"
+ Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) aptitude install --assume-yes"
;;
esac
# Removing package list
- rm -f chroot/root/"`basename ${PACKAGESLIST}`"
+ rm -f chroot/root/"$(basename ${PACKAGESLIST})"
done
# Saving cache