summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-02-12 19:24:20 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:15 +0200
commitbce3b6d28f0c2e054e3edb4399c0008ae09f4cbf (patch)
tree7b5cb1ba8e8254bed2749c5103394efe0074a54d /gettext-tools
parentc68a02b378e0b86a73f343ed924af61073fb9a1f (diff)
downloadexternal_gettext-bce3b6d28f0c2e054e3edb4399c0008ae09f4cbf.zip
external_gettext-bce3b6d28f0c2e054e3edb4399c0008ae09f4cbf.tar.gz
external_gettext-bce3b6d28f0c2e054e3edb4399c0008ae09f4cbf.tar.bz2
Avoid HP-UX sh limitations.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/tests/ChangeLog5
-rwxr-xr-xgettext-tools/tests/lang-clisp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index 6b101c5..f8522fa 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -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.
diff --git a/gettext-tools/tests/lang-clisp b/gettext-tools/tests/lang-clisp
index 57944da..d8b0460 100755
--- a/gettext-tools/tests/lang-clisp
+++ b/gettext-tools/tests/lang-clisp
@@ -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;;