aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/update-extlinux
diff options
context:
space:
mode:
authorDaniel Beecham <daniel@lunix.se>2012-07-22 15:17:31 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-25 09:13:34 +0000
commit694f922569d04fef76eb881f5a660df8342e30f5 (patch)
tree6b183edcc54aa9d8de044079abef7a3b1c54c6d2 /main/syslinux/update-extlinux
parente0f158435e65e4cb8f92eec6792b450ea4aa4447 (diff)
downloadaports-694f922569d04fef76eb881f5a660df8342e30f5.tar.bz2
aports-694f922569d04fef76eb881f5a660df8342e30f5.tar.xz
main/syslinux: update-linux: find -name "*" instead of find -name *
Diffstat (limited to 'main/syslinux/update-extlinux')
-rwxr-xr-xmain/syslinux/update-extlinux4
1 files changed, 2 insertions, 2 deletions
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"