]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix version check.
authorBruno Haible <bruno@clisp.org>
Wed, 6 Mar 2002 18:09:46 +0000 (18:09 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:07:47 +0000 (12:07 +0200)
tests/ChangeLog
tests/lang-gawk

index a117c189293d0c5504541d24513b73a353f50f33..a9b91b2e07c06b27173ba17e5af7b2a60dce6ff1 100644 (file)
@@ -1,5 +1,6 @@
 2002-03-07  Bruno Haible  <bruno@clisp.org>
 
+       * lang-gawk: Fix the version recognition, to work with gawk 2.xx.
        * lang-tcl: Skip the test if tcl exists but has no msgcat extension.
 
 2002-03-05  Bruno Haible  <bruno@clisp.org>
index 536088c6890d1b29a0ba1b4a6980d26b1af20bc6..3756db471a20fb5dd693c44afc87a4474d23bf31 100755 (executable)
@@ -84,7 +84,7 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 # Test for presence of gawk version 3.1.1 or newer.
 (gawk --version) >/dev/null 2>/dev/null \
   || { echo "SKIP: lang-awk"; rm -fr $tmpfiles; exit 77; }
-case `gawk --version | sed -e 's/^[^0-9]*//'` in
+case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in
   0.* | 1.* | 2.* | 3.0* | 3.1.0*)
     echo "SKIP: lang-awk"; rm -fr $tmpfiles; exit 77;;
 esac