diff options
-rwxr-xr-x | clean_files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clean_files b/clean_files index 24465c2..e39a58a 100755 --- a/clean_files +++ b/clean_files @@ -14,12 +14,12 @@ $RPM_BUILD_ROOT=$ENV{RPM_BUILD_ROOT}; chdir($RPM_BUILD_ROOT) || die "Can't cd to $ENV{RPM_BUILD_ROOT}: $!"; system(split(/\s+/,"find . -type f -a - ( -name #*# -o -name *~ -o -name DEADJOE + ( -name #*# -o -name *~ -o -name DEADJOE -o -name .cvsignore -o -name *.orig -o -name *.rej -o -name *.bak -o -name .*.orig -o -name .*.rej -o -name .SUMS -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P ) ) -exec rm -f {} ;")); -system(split(/\s+/, "find . -type d -a -name CVS -exec rm -rf {} ;")); +system("find . -type d -a -name CVS | xargs rm -rf"); # clean_files ends here |