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.
This commit is contained in:
robertmh 2007-11-05 16:22:30 +00:00
parent 5ab33bba2f
commit 53b052dedb
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
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)

View file

@ -141,14 +141,14 @@ cat << EOF
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
;;