* util/update-grub.in: Allow files in ${update_grub_dir} to contain
spaces. Skip non-regular files.
+2007-11-05 Robert Millan <rmh@aybabtu.com>
+
+ * util/update-grub.in: Allow files in ${update_grub_dir} to contain
+ spaces. Skip non-regular files.
+
2007-11-05 Robert Millan <rmh@aybabtu.com>
* kern/disk.c (grub_disk_firmware_fini)
EOF
for i in ${update_grub_dir}/* ; do
- case $i in
+ case "$i" in
# emacsen backup files. FIXME: support other editors
*~) ;;
*)
- if test -x $i ; then
+ if test -f "$i" && test -x "$i" ; then
echo
echo "### BEGIN $i ###"
- $i
+ "$i"
echo "### END $i ###"
fi
;;