summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-19 17:36:56 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:24 +0100
commit799cb2abefdd20b875f33f78fbbfe9aa7a33fdaf (patch)
tree9617dced1e10b246d88b23705999c358c785c200 /scripts
parent4a908658ff1dcabfaee17421c0c71c5015a957f5 (diff)
downloadlive-build-799cb2abefdd20b875f33f78fbbfe9aa7a33fdaf.zip
live-build-799cb2abefdd20b875f33f78fbbfe9aa7a33fdaf.tar.gz
Also only respecting packages lists with .list suffix in binary_local-packageslists for consistency.
Diffstat (limited to 'scripts')
-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 f98742a..80f3fb2 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})"