]> sourceware.org Git - automake.git/commitdiff
* m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
authorTom Tromey <tromey@redhat.com>
Fri, 22 Dec 2000 20:29:21 +0000 (20:29 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 22 Dec 2000 20:29:21 +0000 (20:29 +0000)
ChangeLog
m4/depend.m4

index cf2accde9a23070dc52325d9a49daf20d01d5d18..e99fb2fce738479415569cd1b9cc0878a79f1f8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-12-22  Tom Tromey  <tromey@redhat.com>
 
+       * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
+
        * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
 
 2000-12-21  Tom Tromey  <tromey@redhat.com>
index 746c22f3123465fc1ded5d79f4badb16af7d81cb..f84923eb1da8d7b51463ca83e4bb7ba95144d063 100644 (file)
@@ -70,7 +70,9 @@ AC_SUBST([$1]DEPMODE)
 AC_DEFUN([AM_SET_DEPDIR],[
 if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
   DEPDIR=.deps
-  rmdir .deps
+  # We redirect because .deps might already exist and be populated.
+  # In this situation we don't want to see an error.
+  rmdir .deps > /dev/null 2>&1
 else
   DEPDIR=_deps
 fi
This page took 0.030292 seconds and 5 git commands to generate.