aboutsummaryrefslogtreecommitdiffstats
path: root/clean_files
diff options
context:
space:
mode:
Diffstat (limited to 'clean_files')
-rwxr-xr-xclean_files6
1 files changed, 3 insertions, 3 deletions
diff --git a/clean_files b/clean_files
index e39a58a..f0ae5e8 100755
--- a/clean_files
+++ b/clean_files
@@ -10,10 +10,10 @@
#---------------------------------------------------------------
################################################################################
-$RPM_BUILD_ROOT=$ENV{RPM_BUILD_ROOT};
-chdir($RPM_BUILD_ROOT) || die "Can't cd to $ENV{RPM_BUILD_ROOT}: $!";
+my $RPM_BUILD_ROOT = $ENV{RPM_BUILD_ROOT};
+chdir($RPM_BUILD_ROOT) or die "Can't cd to $ENV{RPM_BUILD_ROOT}: $!";
-system(split(/\s+/,"find . -type f -a
+system(split(/\s+/, "find . -type f -a
( -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