From 5b1852a0214cec5b3b6ed5fd962276b94b369e56 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 26 Jun 2010 21:28:41 +0200 Subject: grub: add needed stuff for static build and busybox grep --- package/grub/patches/patch-util_grub-mkconfig_lib_in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/grub/patches/patch-util_grub-mkconfig_lib_in (limited to 'package/grub/patches/patch-util_grub-mkconfig_lib_in') diff --git a/package/grub/patches/patch-util_grub-mkconfig_lib_in b/package/grub/patches/patch-util_grub-mkconfig_lib_in new file mode 100644 index 000000000..a51e3ec53 --- /dev/null +++ b/package/grub/patches/patch-util_grub-mkconfig_lib_in @@ -0,0 +1,11 @@ +--- grub-1.98.orig/util/grub-mkconfig_lib.in 2010-03-06 21:51:37.000000000 +0100 ++++ grub-1.98/util/grub-mkconfig_lib.in 2010-06-26 21:17:19.399157123 +0200 +@@ -154,7 +154,7 @@ version_test_numeric () + a=$b + b=$c + fi +- if (echo $a ; echo $b) | sort -n | head -n 1 | grep -qx $b ; then ++ if (echo $a ; echo $b) | sort -n | head -n 1 | grep -q $b ; then + return 0 + else + return 1 -- cgit v1.2.3