changeset 112:ff473843612c

bugfix in libiconv version recognition
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 26 Feb 2008 11:05:19 +0000
parents e45259846438
children 110eade6640c
files build_mingw_cross_env.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Fri Jan 11 21:00:11 2008 +0100
+++ b/build_mingw_cross_env.sh	Tue Feb 26 11:05:19 2008 +0000
@@ -617,7 +617,7 @@
     VERSION=`
         wget -q -O- 'http://ftp.gnu.org/pub/gnu/libiconv/' |
         $SED -n 's,.*libiconv-\([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\.tar.*,\1.\2\3,p' |
-        sort | tail -1`
+        sort -n | tail -1`
     test -n "$VERSION"
     $SED "s,^VERSION_libiconv=.*,VERSION_libiconv=$VERSION," -i "$0"
     ;;