summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_cache
diff options
context:
space:
mode:
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 4ec2d13b2..782043dae 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