]> sourceware.org Git - automake.git/commitdiff
Bug fix
authorTom Tromey <tromey@redhat.com>
Fri, 5 Apr 1996 07:44:21 +0000 (07:44 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 5 Apr 1996 07:44:21 +0000 (07:44 +0000)
ChangeLog
lib/mkinstalldirs
mkinstalldirs

index 999289bdf44adc70015d9bbe894d0a050559422c..7222ffafe2b04f0315ae03de313f4d2c01a284b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Fri Apr  5 00:22:14 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
+       * mkinstalldirs (errstatus): Don't necessarily die if mkdir
+       fails.
+
        * automake.in (handle_source_transform): Typo fix.
 
 Thu Apr  4 15:10:50 1996  Tom Tromey  <tromey@creche.cygnus.com>
index 0801ec2c96612d4502d7ca321a3585b013b50397..cc8783edce301ef5e36ec6b3ca54bf347ed77be4 100755 (executable)
@@ -20,7 +20,11 @@ for file in ${1+"$@"} ; do
 
      if test ! -d "$pathcomp"; then
         echo "mkdir $pathcomp" 1>&2
-        mkdir "$pathcomp" || errstatus=$?
+        mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
+     fi
+
+     if test ! -d "$pathcomp"; then
+       errstatus=$lasterr
      fi
 
      pathcomp="$pathcomp/"
index 0801ec2c96612d4502d7ca321a3585b013b50397..cc8783edce301ef5e36ec6b3ca54bf347ed77be4 100755 (executable)
@@ -20,7 +20,11 @@ for file in ${1+"$@"} ; do
 
      if test ! -d "$pathcomp"; then
         echo "mkdir $pathcomp" 1>&2
-        mkdir "$pathcomp" || errstatus=$?
+        mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
+     fi
+
+     if test ! -d "$pathcomp"; then
+       errstatus=$lasterr
      fi
 
      pathcomp="$pathcomp/"
This page took 0.036092 seconds and 5 git commands to generate.