automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1715


From: Peter Rosin
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-1715-g8525b87
Date: Tue, 10 Jan 2012 09:06:25 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=8525b870d5caa0a04858aa436ad6949ec277fc0c

The branch, master has been updated
       via  8525b870d5caa0a04858aa436ad6949ec277fc0c (commit)
      from  63aa6177cc67ff43bdc4f68769ac8fc6585e31e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8525b870d5caa0a04858aa436ad6949ec277fc0c
Author: Peter Rosin <address@hidden>
Date:   Tue Jan 10 10:01:29 2012 +0100

    tap/awk: avoid redirection issues with bash 3.2 and earlier
    
    Fixes automake bug#10465.
    
    * lib/tap-driver.sh: Add workaround for bash 3.2 and earlier, which
    sometimes does not properly set '$?' when failing to write redirected
    output of a compound command.  See the Autoconf manual for more details.
    
    The workaround was pointed out by Eric Blake.

-----------------------------------------------------------------------

Summary of changes:
 lib/tap-driver.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/tap-driver.sh b/lib/tap-driver.sh
index c011298..725e779 100755
--- a/lib/tap-driver.sh
+++ b/lib/tap-driver.sh
@@ -115,7 +115,10 @@ else
   init_colors=''
 fi
 
-{
+# :; is there to work around a bug in bash 3.2 (and earlier) which
+# does not always set '$?' properly on redirection failure.
+# See the Autoconf manual for more details.
+:;{
   (
     # Ignore common signals (in this subshell only!), to avoid potential
     # problems with Korn shells.  Some Korn shells are known to propagate


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]