Subject: [alpine-devel] [PATCH] find -name "*" instead of find -name *.

From: Daniel Beecham <[email-masked]>
Date: Sun, 22 Jul 2012 15:17:31 +0200

---
 main/syslinux/update-extlinux | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux
index dafe8bb..d96713a 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"
 
-- 
1.7.11.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---