diff options
author | James O'Gorman <james@netinertia.co.uk> | 2008-10-26 17:05:51 +0000 |
---|---|---|
committer | James O'Gorman <james@netinertia.co.uk> | 2008-10-26 17:05:51 +0000 |
commit | 6fbed77c9e28069ba935001e430a769a0040319d (patch) | |
tree | 2841e743be1edacb842743b337ed83beeedd2ef3 /cleanupforcvs.pl | |
parent | f2410b9a8835d61f34f1fa06d9f9eb74cc9a58a9 (diff) |
Don't include docs/ in the cleanup search.
Diffstat (limited to 'cleanupforcvs.pl')
-rwxr-xr-x | cleanupforcvs.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanupforcvs.pl b/cleanupforcvs.pl index 270ea525..3379a7ad 100755 --- a/cleanupforcvs.pl +++ b/cleanupforcvs.pl @@ -10,7 +10,7 @@ my $cleaned = 1; 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 @@ sub ask_about_delete { 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') |