summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_cache
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_cache
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadlive-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_chroot_cache')
-rwxr-xr-xhelpers/lh_chroot_cache4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_cache b/helpers/lh_chroot_cache
index 4ec2d13..782043d 100755
--- a/helpers/lh_chroot_cache
+++ b/helpers/lh_chroot_cache
@@ -60,7 +60,7 @@ do
if [ -n "${LH_ROOT_COMMAND}" ]
then
- ${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` chroot
+ ${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
fi
# Creating stage file
@@ -88,7 +88,7 @@ do
if [ -n "${LH_ROOT_COMMAND}" ]
then
- ${LH_ROOT_COMMAND} chown -R `whoami`:`whoami` cache/stages_chroot
+ ${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_chroot
fi
# Creating stage file