]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
autogen.sh: Make more reliable.
authorBruno Haible <bruno@clisp.org>
Sat, 24 Aug 2019 17:25:06 +0000 (19:25 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 11:09:36 +0000 (13:09 +0200)
* autogen.sh: Really bail out if gnulib-tool fails to copy config.{guess,sub}.

autogen.sh

index f03a446d5ce1e6ff880db7cb2f129b0ad3d32313..6f1403efd9a3733ebf9de07b15daf75809c26798 100755 (executable)
@@ -358,7 +358,7 @@ fi
 # Fetch config.guess, config.sub.
 if test -n "$GNULIB_TOOL"; then
   for file in config.guess config.sub; do
-    $GNULIB_TOOL --copy-file build-aux/$file; chmod a+x build-aux/$file || exit $?
+    $GNULIB_TOOL --copy-file build-aux/$file && chmod a+x build-aux/$file || exit $?
   done
 else
   for file in config.guess config.sub; do