diff --git a/ChangeLog b/ChangeLog index e8f2cd687..2a39982b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-05 Robert Millan + + * util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix + so that [xz] isn't taken into account when determining order. + 2007-08-02 Marco Gerards * DISTLIST: Add `disk/host.c', `fs/ntfs.c', `include/multiboot.h', diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 9ce34454c..9a302a10b 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -47,8 +47,8 @@ test_numeric () test_gt () { - local a=$1 - local b=$2 + local a=`echo $1 | sed -e "s/vmlinu[zx]-//g"` + local b=`echo $2 | sed -e "s/vmlinu[zx]-//g"` local cmp=gt if [ "x$b" = "x" ] ; then return 0