patch-util_grub-mkconfig_lib_in 400 B

1234567891011
  1. --- grub-1.98.orig/util/grub-mkconfig_lib.in 2010-03-06 21:51:37.000000000 +0100
  2. +++ grub-1.98/util/grub-mkconfig_lib.in 2010-06-26 21:17:19.399157123 +0200
  3. @@ -154,7 +154,7 @@ version_test_numeric ()
  4. a=$b
  5. b=$c
  6. fi
  7. - if (echo $a ; echo $b) | sort -n | head -n 1 | grep -qx $b ; then
  8. + if (echo $a ; echo $b) | sort -n | head -n 1 | grep -q $b ; then
  9. return 0
  10. else
  11. return 1