summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index f9ca5ee81..e25f3b7fd 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -79,12 +79,12 @@ fi
## Processing local hooks
-if Find_files config/hooks/*.chroot
+if Find_files config/hooks/live/*.chroot
then
# Restoring cache
Restore_cache cache/packages.chroot
- for _HOOK in config/hooks/*.chroot
+ for _HOOK in config/hooks/live/*.chroot
do
# Copying hook
cp "${_HOOK}" chroot/root