]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
autopoint: Don't redirect stderr.
authorBruno Haible <bruno@clisp.org>
Sat, 13 Oct 2018 09:56:36 +0000 (11:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 14 Oct 2018 23:01:51 +0000 (01:01 +0200)
Reported by ShellCheck via Pavel Raiskup <praiskup@redhat.com>.

* gettext-tools/misc/autopoint.in (func_version_prereq): Don't redirect stderr.

gettext-tools/misc/autopoint.in

index d503235cd1525699d0c1e898ac9c762aa32329a4..6122382fa3a55865a20e171e086e4245bd3a6e9a 100644 (file)
@@ -321,7 +321,7 @@ func_version_prereq ()
   req="$1"
   ver="$2"
   echo "m4_if(m4_version_compare([$ver], [$req]), [-1], [m4_exit([1])])" \
-    | "$AUTOM4TE" --language=M4sugar 2>&1 >/dev/null
+    | "$AUTOM4TE" --language=M4sugar >/dev/null
 }
 
 # If AM_GNU_GETTEXT_REQUIRE_VERSION is used and archive_version is newer than