You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2012/12/14 03:05:15 UTC

svn commit: r1421636 - /subversion/trunk/Makefile.in

Author: breser
Date: Fri Dec 14 02:05:13 2012
New Revision: 1421636

URL: http://svn.apache.org/viewvc?rev=1421636&view=rev
Log:
Allow make clean to work when svn-test-work is a mounted ramdisk.

If you follow the instructions in subversion/tests/cmdline/README then make clean
fails since it can't remove svn-test-work.

* Makefile.in
  (check-clean): find nodes under svn-test-work and remove them rather than
    the directory itself.

Modified:
    subversion/trunk/Makefile.in

Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1421636&r1=1421635&r2=1421636&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Fri Dec 14 02:05:13 2012
@@ -589,8 +589,9 @@ gcov-clean:
 	find . -name "*.gcda" -o -name "*.gcno" -print0 | xargs -0 rm -f
 
 check-clean: gcov-clean
-	rm -rf subversion/tests/cmdline/svn-test-work          \
-	       subversion/tests/libsvn_fs/test-repo-*          \
+	find subversion/tests/cmdline/svn-test-work -print0    \
+	       -mindepth 1 -maxdepth 1 | xargs -0 rm -rf;      \
+	rm -rf subversion/tests/libsvn_fs/test-repo-*          \
 	       subversion/tests/libsvn_fs_base/test-repo-*     \
 	       subversion/tests/libsvn_fs_fs/test-repo-*       \
 	       subversion/tests/libsvn_ra_local/test-repo-*    \