diff options
Diffstat (limited to 'scripts/build/lb_chroot_task-lists')
-rwxr-xr-x | scripts/build/lb_chroot_task-lists | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_task-lists b/scripts/build/lb_chroot_task-lists index 57f5518b1..1377ad1c5 100755 --- a/scripts/build/lb_chroot_task-lists +++ b/scripts/build/lb_chroot_task-lists @@ -41,10 +41,13 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if ls config/task-lists/*.list.chroot > /dev/null 2>&1 || \ +if ls config/task-lists/*.list > /dev/null 2>&1 || \ + 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/*.list.chroot config/task-lists/*.list.chroot_${_PASS} + for LIST in config/task-lists/*.list \ + config/task-lists/*.list.chroot \ + config/task-lists/*.list.chroot_${_PASS} do if [ -e "${LIST}" ] then |