summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
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_hacks
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadlive-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-xhelpers/lh_chroot_hacks4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 2b571a5..da2be17 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -69,7 +69,7 @@ case "${LH_BINARY_IMAGES}" in
then
mkdir chroot/etc/initramfs-tools
fi
- if [ ! "`grep 'MODULES=netboot' chroot/etc/initramfs-tools/initramfs.conf`" ]
+ if [ ! "$(grep 'MODULES=netboot' chroot/etc/initramfs-tools/initramfs.conf)" ]
then
# Configuring initramfs for NFS
cat >> chroot/etc/initramfs-tools/initramfs.conf << EOF
@@ -103,7 +103,7 @@ rm -f chroot/var/lib/dpkg/*-old
if [ -n "${LH_ROOT_COMMAND}" ]
then
- ${LH_ROOT_COMMAND} chown -R --quiet `whoami`:`whoami` chroot
+ ${LH_ROOT_COMMAND} chown -R --quiet $(whoami):$(whoami) chroot
fi
if [ -d chroot/home/${LH_USERNAME} ]