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_chroot_local-packageslists | |
parent | 81a76d4adc812c16be8238fedda25bd43ab3a379 (diff) | |
download | live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz |
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_chroot_local-packageslists')
-rwxr-xr-x | helpers/lh_chroot_local-packageslists | 8 |
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 |