]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Programming in M4sh): Document that
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 7 Apr 2006 12:33:04 +0000 (12:33 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 7 Apr 2006 12:33:04 +0000 (12:33 +0000)
AS_MKDIR_P exits the script on failure.
* lib/autotest/general.m4: Remove redundant AS_ERROR.

ChangeLog
doc/autoconf.texi
lib/autotest/general.m4

index ef0b249056bfd0cf65d49a7b388bec0a48731a77..732f4b0393e382a34f5cd49175fa7e4f776471ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-07  Eric Blake  <ebb9@byu.net>
+
+       * doc/autoconf.texi (Programming in M4sh): Document that
+       AS_MKDIR_P exits the script on failure.
+       * lib/autotest/general.m4: Remove redundant AS_ERROR.
+
 2006-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * config/elisp-comp, config/install-sh, config/mdate-sh,
index 94ac534cdbc89bc93540f9f8461c9d582c8c4200..1f9d43bb24bb2a525f9472ee586814ae0bda967c 100644 (file)
@@ -9461,7 +9461,8 @@ except that it is portable to older versions of @command{mkdir} that
 lack support for the @option{-p} option.  Also, @code{AS_MKDIR_P}
 succeeds if @var{file-name} is a symbolic link to an existing directory,
 even though Posix is unclear whether @samp{mkdir -p} should
-succeed in that case.
+succeed in that case.  If creation of @var{file-name} fails, exit the
+script.
 @end defmac
 
 @defmac AS_SHELL_SANITIZE
index 10789ee11c1f6d1fca5577a09d937b3c6b4a7c72..9b915f298fa7b350e753976723799aa43ffd1f7f 100644 (file)
@@ -702,8 +702,7 @@ do
        rm -fr $at_group_dir
       fi
       # Be tolerant if the above `rm' was not able to remove the directory.
-      AS_MKDIR_P([$at_group_dir]) ||
-       AS_ERROR([cannot create $at_group_dir])
+      AS_MKDIR_P([$at_group_dir])
       cd $at_group_dir
       ;;
   esac