diff options
Diffstat (limited to 'scripts/build/lb_chroot_hooks')
-rwxr-xr-x | scripts/build/lb_chroot_hooks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_hooks b/scripts/build/lb_chroot_hooks index 708045919..37f26df28 100755 --- a/scripts/build/lb_chroot_hooks +++ b/scripts/build/lb_chroot_hooks @@ -43,10 +43,10 @@ Create_lockfile .lock # Copying hooks for _HOOK in ${LB_CHROOT_HOOKS} do - if [ -e "${LB_BASE}/hooks/???-${_HOOK}.chroot" ] + if [ -e "${LB_BASE}"/hooks/???-"${_HOOK}".chroot ] then mkdir -p chroot/root/lb_chroot_hooks - cp "${LB_BASE}/hooks/???-${_HOOK}.chroot" chroot/root/lb_chroot_hooks + cp "${LB_BASE}"/hooks/???-"${_HOOK}".chroot chroot/root/lb_chroot_hooks fi done |