summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_local-packageslists
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_binary_local-packageslists')
-rwxr-xr-xscripts/build/lb_binary_local-packageslists4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_local-packageslists b/scripts/build/lb_binary_local-packageslists
index f98742ab7..80f3fb257 100755
--- a/scripts/build/lb_binary_local-packageslists
+++ b/scripts/build/lb_binary_local-packageslists
@@ -38,7 +38,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if Find_files config/binary_local-packageslists/*
+if Find_files config/binary_local-packageslists/*.list
then
# Restoring cache
Restore_cache cache/packages_chroot
@@ -53,7 +53,7 @@ then
mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
touch chroot/var/lib/dpkg/status
- for PACKAGESLIST in config/binary_local-packageslists/*
+ for PACKAGESLIST in config/binary_local-packageslists/*.list
do
# Generate package list
Expand_packagelist "${PACKAGESLIST}" "config/binary_local-packageslists" "config/chroot_local-packageslists" > chroot/root/"$(basename ${PACKAGESLIST})"