diff options
Diffstat (limited to 'scripts/build/lb_binary_syslinux')
-rwxr-xr-x | scripts/build/lb_binary_syslinux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index a613381..c5f53bf 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -95,7 +95,7 @@ Syslinux_live_entry () case "${LB_BINARY_IMAGES}" in iso*|usb*) - NUMBER="$(ls -1 ${KERNEL_PATH} | grep 'vmlinuz[0-9]\+$' | wc -l)" + NUMBER="$(ls -1 ${KERNEL_PATH} | grep 'vmlinuz-' | wc -l)" NUMBER="$((${NUMBER} +1))" # Do not add numbering to filenames if first kernel/initrd |