From 8b72db2f0100ab6dc5779d01cebd5f2ee4a12783 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sun, 5 Aug 2007 10:33:58 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ util/grub.d/10_linux.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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