summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-util_grub-install_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/patches/patch-util_grub-install_in')
-rw-r--r--package/grub/patches/patch-util_grub-install_in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/grub/patches/patch-util_grub-install_in b/package/grub/patches/patch-util_grub-install_in
new file mode 100644
index 000000000..6cbc9fbc3
--- /dev/null
+++ b/package/grub/patches/patch-util_grub-install_in
@@ -0,0 +1,11 @@
+--- grub-1.98.orig/util/grub-install.in 2010-03-06 21:51:37.000000000 +0100
++++ grub-1.98/util/grub-install.in 2010-06-26 21:16:50.031158562 +0200
+@@ -306,7 +306,7 @@ config_opt=
+
+ if [ "x${devabstraction_module}" = "x" ] ; then
+ if [ x"${install_device}" != x ]; then
+- if echo "${install_device}" | grep -qx "(.*)" ; then
++ if echo "${install_device}" | grep -q "(.*)" ; then
+ install_drive="${install_device}"
+ else
+ install_drive="`$grub_probe --target=drive --device ${install_device}`"