[Top][All Lists]

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

[Automake-commit] [SCM] GNU Automake branch, yacc-work, updated. v1.12.2

From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, yacc-work, updated. v1.12.2-120-g13cf115
Date: Sat, 14 Jul 2012 09:10:13 +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".;a=commitdiff;h=13cf1151df7684bacb7d82bfb2ee3624049de408

The branch, yacc-work has been updated
       via  13cf1151df7684bacb7d82bfb2ee3624049de408 (commit)
       via  011e69d7babe38f2baa8bc98d98dc39091502e3e (commit)
      from  f08a1a8687880368f47124d9b7e18edd5d6ceb2f (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 13cf1151df7684bacb7d82bfb2ee3624049de408
Author: Stefano Lattarini <address@hidden>
Date:   Sat Jul 14 11:07:34 2012 +0200

    ylwrap: use proper quoting inside a `...` substitution
    * lib/ylwrap ($target): Here, when redefining this to a temporary file.
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 011e69d7babe38f2baa8bc98d98dc39091502e3e
Author: Stefano Lattarini <address@hidden>
Date:   Sat Jul 14 11:04:42 2012 +0200

    ylwrap: don't uselessly reset the exit status in case of failure
    * lib/ylwrap: Here.  In case of a failure in the wrapped yacc/lex
    invocation, '$ret' (holding the final exit status of ylwrap) was
    being uselessly reset to '1' in the later if/else.
    Signed-off-by: Stefano Lattarini <address@hidden>


Summary of changes:
 lib/ylwrap |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/lib/ylwrap b/lib/ylwrap
index 49116e5..7befa46 100755
--- a/lib/ylwrap
+++ b/lib/ylwrap
@@ -190,7 +190,7 @@ if test $ret -eq 0; then
       # compare them to existing versions.
       if test $from != $parser; then
-        target=tmp-`printf '%s\n' "$target" | sed s/.*[\\/]//g`
+        target=tmp-`printf '%s\n' "$target" | sed 's|.*[\\/]||g'`
       # Munge "#line" or "#" directives.  Don't let the resulting
@@ -221,8 +221,6 @@ if test $ret -eq 0; then
-  ret=$?
 # Remove the directory.

GNU Automake

reply via email to

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