summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-packageslists
diff options
context:
space:
mode:
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 bd615e3cd..2c03f3c6b 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