diff options
author | Daniel Baumann <daniel@debian.org> | 2011-08-05 08:40:03 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-08-05 08:40:03 +0200 |
commit | 8a0da5726657de9024197bdb4c17f35423199a0a (patch) | |
tree | f70338ab1a5ef5dcb1d7278159da60252214d4d1 /scripts/build/lb_chroot_task-lists | |
parent | a51393f49bb455b52959eb7e3c6047f6d300ce85 (diff) | |
download | vyos-live-build-8a0da5726657de9024197bdb4c17f35423199a0a.tar.gz vyos-live-build-8a0da5726657de9024197bdb4c17f35423199a0a.zip |
Reverse keywords in suffix of the package list files for consistency.
Previously, config/package-lists/foo.{binary,chroot}.list was used,
now we use config/package-lists/foo.list.{binary,chroot}.
That way, we're using the same single suffix for all files to make
them specific for either binary and chroot, rather than having
an exception to the rule for package list files.
Diffstat (limited to 'scripts/build/lb_chroot_task-lists')
-rwxr-xr-x | scripts/build/lb_chroot_task-lists | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_chroot_task-lists b/scripts/build/lb_chroot_task-lists index 2bdffd8d5..57f5518b1 100755 --- a/scripts/build/lb_chroot_task-lists +++ b/scripts/build/lb_chroot_task-lists @@ -41,10 +41,10 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if ls config/task-lists/*.chroot.list > /dev/null 2>&1 || \ - ls config/task-lists/*.chroot_${_PASS}.list > /dev/null 2>&1 +if ls config/task-lists/*.list.chroot > /dev/null 2>&1 || \ + ls config/task-lists/*.list.chroot_${_PASS} > /dev/null 2>&1 then - for LIST in config/task-lists/*.chroot.list config/task-lists/*.chroot_${_PASS}.list + for LIST in config/task-lists/*.list.chroot config/task-lists/*.list.chroot_${_PASS} do if [ -e "${LIST}" ] then |