]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid HP-UX sh limitations.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2005 19:24:20 +0000 (19:24 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:15 +0000 (12:12 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/lang-clisp

index 6b101c517ffac3ca2b2ab3ef432a3f6299d71b7d..f8522face77b54abcc401bef1f5a2130bf12818f 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-12  Bruno Haible  <bruno@clisp.org>
+
+       * lang-clisp: Use only the first line of "clisp --version"'s output.
+       Needed to avoid /bin/sh limitations on HP-UX 10.
+
 2005-02-08  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (LDADD_yes): Remove INTL_MACOSX_LIBS.
index 57944daa889e764f7fd04bf64b6c58a546c44fe5..d8b0460a9b2e92026391c12e967fa03d7faaa385 100755 (executable)
@@ -86,7 +86,7 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 # can deal with floating-point numbers.
 (clisp --version) >/dev/null 2>/dev/null \
   || { rm -fr $tmpfiles; exit 77; }
-version=`clisp --version | sed -e 's/^[^0-9]*//'`
+version=`clisp --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'`
 case $version in
   19* | 20*) # older than 2.25
     rm -fr $tmpfiles; exit 77;;