]> granicus.if.org Git - php/commitdiff
- Fix the cleanup routine (it is not very nice to delete everything..)
authorJani Taskinen <jani@php.net>
Thu, 16 Jul 2009 12:10:38 +0000 (12:10 +0000)
committerJani Taskinen <jani@php.net>
Thu, 16 Jul 2009 12:10:38 +0000 (12:10 +0000)
build/build.mk
build/buildcheck.sh

index 38915accbe8e3822d2d6c5202e51fc3fb2871adc..ed5d53500e3d471ce9cbd785d5ddb2309673d02a 100644 (file)
@@ -71,8 +71,8 @@ cvsclean-work:
        done
 
 svnclean-work:
-       @for i in `find . -type d -and -not -path '*/.svn/*'`; do \
-               (cd `dirname $$i` 2>/dev/null && svn propget svn:ignore $$i | xargs rm -rf && rm -rf *.o *.a .libs || true);    \
+       @for i in `find . -type d -not -path '*/.svn/*' | grep -v '.svn'`; do \
+               (cd `dirname $$i` 2>/dev/null && rm -rf `svn propget svn:ignore . | grep -v config.nice` *.o *.a .libs || true); \
        done
 
 gitclean-work:
index 25dcbe91e1e09775690eb685a192a8643a06d82a..3b893acbb6a053a6a19bbf330917f122c4c48905 100755 (executable)
@@ -48,9 +48,9 @@ fi
 
 if test "$1" = "2" && test "$2" -ge "50"; then
   echo "buildconf: Your version of autoconf likely contains buggy cache code."
-  echo "           Running svnclean for you."
+  echo "           Running vcsclean for you."
   echo "           To avoid this, install autoconf-2.13."
-  ./svnclean
+  ./vcsclean
   stamp=
 fi