[Box Backup-commit] COMMIT r2364 - box/trunk

boxbackup-dev@boxbackup.org boxbackup-dev@boxbackup.org
Sun, 26 Oct 2008 17:05:52 +0000 (GMT)


Author: jamesog
Date: 2008-10-26 17:05:51 +0000 (Sun, 26 Oct 2008)
New Revision: 2364

Modified:
   box/trunk/cleanupforcvs.pl
Log:
Don't include docs/ in the cleanup search.



Modified: box/trunk/cleanupforcvs.pl
===================================================================
--- box/trunk/cleanupforcvs.pl	2008-10-26 15:45:38 UTC (rev 2363)
+++ box/trunk/cleanupforcvs.pl	2008-10-26 17:05:51 UTC (rev 2364)
@@ -10,7 +10,7 @@
 my $dist_archives_exist = 0;
 my @bad_h;
 
-open EVERYTHING,'find . |' or die "Can't open find for file listing";
+open EVERYTHING,'find . -type d \( -name docs \) -prune -o -type f |' or die "Can't open find for file listing";
 
 my %exclude_from_memtest_checks = ('PollEmulator.cpp'=>1,'DebugMemLeakFinder.cpp'=>1,'MemLeakFinder.h'=>1,'MemLeakFindOn.h'=>1,'MemLeakFindOff.h'=>1,'Box.h'=>1);
 
@@ -178,7 +178,7 @@
 	{
 		print $_,"\n";
 	}
-	print "Delete these ",$#$del_r + 1, " $name?";
+	print "Delete these ",$#$del_r + 1, " $name? ";
 	my $in = <STDIN>;
 	chomp $in;
 	if($in eq 'yes')