]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Make autogen.sh more reliable.
authorBruno Haible <bruno@clisp.org>
Tue, 5 Aug 2025 20:09:01 +0000 (22:09 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Aug 2025 20:09:01 +0000 (22:09 +0200)
* autogen.sh: Fail if gnulib-tool fails.

autogen.sh

index 0aa68224ea01a586a2e43c2b9b6a30a65a8c6449..9534c15797175a80718bd2068c777304f4231dcb 100755 (executable)
@@ -612,7 +612,7 @@ if ! $skip_gnulib; then
   done
 
   # Fetch INSTALL.generic.
-  $GNULIB_TOOL --copy-file doc/INSTALL.UTF-8 INSTALL.generic
+  $GNULIB_TOOL --copy-file doc/INSTALL.UTF-8 INSTALL.generic || exit $?
 fi
 
 # Make sure we get new versions of files brought in by automake.