From 694f922569d04fef76eb881f5a660df8342e30f5 Mon Sep 17 00:00:00 2001 From: Daniel Beecham Date: Sun, 22 Jul 2012 15:17:31 +0200 Subject: main/syslinux: update-linux: find -name "*" instead of find -name * --- main/syslinux/update-extlinux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/syslinux/update-extlinux') diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index dafe8bb189..d96713ae30 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -92,7 +92,7 @@ echo "TIMEOUT $rtimeout" >> $conf.new lst=0 if [ -f "/boot/xen.gz" ]; then - for kernel in $(find /boot -name vmlinuz-* -type f); do + for kernel in $(find /boot -name "vmlinuz-*" -type f); do tag=$(basename $kernel | cut -b9-) everbose "Found Xen hypervisor: /boot/xen.gz, kernel: $kernel" @@ -118,7 +118,7 @@ if [ -f "/boot/xen.gz" ]; then done fi -for kernel in $(find /boot -name vmlinuz-* -type f); do +for kernel in $(find /boot -name "vmlinuz-*" -type f); do tag=$(basename $kernel | cut -b9-) everbose "Found kernel: $kernel" -- cgit v1.2.3