summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-hooks
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_local-hooks
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadvyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_chroot_local-hooks')
-rwxr-xr-xhelpers/lh_chroot_local-hooks8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_local-hooks b/helpers/lh_chroot_local-hooks
index 6197b48a9..d0f487b16 100755
--- a/helpers/lh_chroot_local-hooks
+++ b/helpers/lh_chroot_local-hooks
@@ -56,16 +56,16 @@ then
cp "${HOOK}" chroot/root
# Making hook executable
- if [ ! -x chroot/root/"`basename ${HOOK}`" ]
+ if [ ! -x chroot/root/"$(basename ${HOOK})" ]
then
- chmod +x chroot/root/"`basename ${HOOK}`"
+ chmod +x chroot/root/"$(basename ${HOOK})"
fi
# Executing hook
- Chroot "/root/`basename ${HOOK}`"
+ Chroot "/root/$(basename ${HOOK})"
# Removing hook
- rm -f chroot/root/"`basename ${HOOK}`"
+ rm -f chroot/root/"$(basename ${HOOK})"
done
# Creating stage file