* util/grub-mkconfig_lib.in (version_test_gt): Fix variable names.

This commit is contained in:
Lukas Anzinger 2011-12-23 12:01:25 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent a93964ce11
commit a6120aca2e
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-12-23 Lukas Anzinger <l.anzinger@gmail.com>
* util/grub-mkconfig_lib.in (version_test_gt): Fix variable names.
2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/net.c (grub_cmd_delroute): Add missing out condition.

View file

@ -198,8 +198,8 @@ version_test_gt ()
fi
case "$version_test_gt_a:$version_test_gt_b" in
*.old:*.old) ;;
*.old:*) version_test_gt_a="`echo -n "$version_test_gt_a" | sed -e 's/\.old$//'`" ; cmp=gt ;;
*:*.old) version_test_gt_b="`echo -n "$version_test_gt_b" | sed -e 's/\.old$//'`" ; cmp=ge ;;
*.old:*) version_test_gt_a="`echo -n "$version_test_gt_a" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=gt ;;
*:*.old) version_test_gt_b="`echo -n "$version_test_gt_b" | sed -e 's/\.old$//'`" ; version_test_gt_cmp=ge ;;
esac
version_test_numeric "$version_test_gt_a" "$version_test_gt_cmp" "$version_test_gt_b"
return "$?"