diff -Naur bazaar/util/grub-mkconfig_lib.in small/util/grub-mkconfig_lib.in --- bazaar/util/grub-mkconfig_lib.in 2011-04-05 10:38:13.357139000 +0200 +++ small/util/grub-mkconfig_lib.in 2011-04-05 14:10:09.617962451 +0200 @@ -44,20 +44,20 @@ make_system_path_relative_to_its_root () { - ${grub_mkrelpath} $1 + ${grub_mkrelpath} "${1}" } is_path_readable_by_grub () { - path=$1 + path="${1}" # abort if path doesn't exist - if test -e $path ; then : ;else + if test -e "${path}" ; then : ;else return 1 fi # abort if file is in a filesystem we can't read - if ${grub_probe} -t fs $path > /dev/null 2>&1 ; then : ; else + if ${grub_probe} -t fs "${path}" > /dev/null 2>&1 ; then : ; else return 1 fi