aboutsummaryrefslogtreecommitdiffstats
path: root/clean_files
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-02 04:35:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-02 04:35:24 +0000
commit475d5b279433dbf5b755a0b52bbdce7e1ed49ab0 (patch)
tree61ea28403f4f8f2fa7d69bab3f0694bbb92c5d1a /clean_files
parentf85d7cf0bb1d74ead24d0ed56574b8641714fbc7 (diff)
downloadspec-helper-475d5b279433dbf5b755a0b52bbdce7e1ed49ab0.tar
spec-helper-475d5b279433dbf5b755a0b52bbdce7e1ed49ab0.tar.gz
spec-helper-475d5b279433dbf5b755a0b52bbdce7e1ed49ab0.tar.bz2
spec-helper-475d5b279433dbf5b755a0b52bbdce7e1ed49ab0.tar.xz
spec-helper-475d5b279433dbf5b755a0b52bbdce7e1ed49ab0.zip
perl_checker cleanups
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