]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/general.m4sh (func_verbose): Work around a bash bug in
authorGary V. Vaughan <gary@gnu.org>
Fri, 8 Oct 2004 12:40:08 +0000 (12:40 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 8 Oct 2004 12:40:08 +0000 (12:40 +0000)
shell functions.

ChangeLog
config/general.m4sh

index dfe8de0aaf73b53be09e9429ac65132ac1ad251b..79b43033a30a1307e8e243910f583e998e48c21e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2004-10-07  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2004-10-08  Gary V. Vaughan  <gary@gnu.org>
+
+       * config/general.m4sh (func_verbose): Work around a bash bug in
+       shell functions.
+
+2004-10-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
        from autoconf >= 2.59.
index 9aa62774670d896e1c87e635d73c403aa0785f13..d5eab8587edadbae81d0a51bc32193e0e417acf5 100644 (file)
@@ -109,6 +109,11 @@ func_echo ()
 func_verbose ()
 {
     $opt_verbose && func_echo ${1+"$@"}
+
+    # A bug in bash halts the script if the last line of a function
+    # fails when set -e is in force, so we need another command to
+    # work around that:
+    :
 }
 
 # func_error arg...