summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_local-hooks')
-rwxr-xr-xscripts/build/lb_chroot_local-hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_local-hooks b/scripts/build/lb_chroot_local-hooks
index c6482c569..f7bc57468 100755
--- a/scripts/build/lb_chroot_local-hooks
+++ b/scripts/build/lb_chroot_local-hooks
@@ -39,12 +39,12 @@ Check_lockfile .lock
Create_lockfile .lock
# Processing local-hooks
-if Find_files config/chroot_local-hooks/*
+if Find_files config/hooks/*.chroot
then
# Restoring cache
Restore_cache cache/packages_chroot
- for HOOK in config/chroot_local-hooks/*
+ for HOOK in config/hooks/*.chroot
do
# Copying hook
cp "${HOOK}" chroot/root