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_local-hooks | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'helpers/lh_chroot_local-hooks') 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 -- cgit v1.2.3