From f2734daf0a9519db6b303683d3ac413a20d56e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Sep 2007 08:47:42 +0200 Subject: Replacing backticks with POSIX expression. --- helpers/lh_chroot_hacks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_chroot_hacks') diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 2b571a54c..da2be1723 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} ] -- cgit v1.2.3