]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability tweak.
authorBruno Haible <bruno@clisp.org>
Wed, 12 Dec 2001 17:59:45 +0000 (17:59 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:43:52 +0000 (23:43 +0200)
tests/ChangeLog
tests/lang-rst

index 46a89173f71bccbfbc83d76db2988aa896efd36c..1fafdf9ff88cc28bd961af3f9626ec72797e9515 100644 (file)
@@ -7,6 +7,8 @@
        * lang-java: Set the default locale by hand. Some systems, like
        Solaris, are not capable of setting the locale according to LC_ALL
        by themselves.
+       * lang-rst: Avoid using the 'type' builtin. It always reports success
+       with SunOS4 /bin/sh.
 
 2001-12-11  Bruno Haible  <bruno@clisp.org>
 
index be484666d3b2590524e20d8a50658df4e95955f6..9359f6dca3fe85519a07e0a712a193c6d6fb77d6 100755 (executable)
@@ -65,11 +65,9 @@ ${DIFF} prog.ok prog.pot || exit 1
 # - no line wrapping
 # - extra newline at the end
 
-: ${RSTCONV=rstconv}
-if type ${RSTCONV} >/dev/null 2>&1; then
-
 tmpfiles="$tmpfiles prog.pot"
-${RSTCONV} -o prog.pot -i prog.rst
+: ${RSTCONV=rstconv}
+if ${RSTCONV} -o prog.pot -i prog.rst >/dev/null 2>&1; then
 
 tmpfiles="$tmpfiles prog.ok"
 cat <<EOF > prog.ok