summaryrefslogtreecommitdiffstats
path: root/clean-rpmsrate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-15 19:12:54 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-15 19:12:54 +0000
commit8241f3a04f646594df413913c4cc12e0ade1328c (patch)
treebce72126123ae1618e0b7eeeedfeca273c44df81 /clean-rpmsrate
parentc59e56b1d049e1286a912dfa1f51393149e586b8 (diff)
downloadmgatools-8241f3a04f646594df413913c4cc12e0ade1328c.tar
mgatools-8241f3a04f646594df413913c4cc12e0ade1328c.tar.gz
mgatools-8241f3a04f646594df413913c4cc12e0ade1328c.tar.bz2
mgatools-8241f3a04f646594df413913c4cc12e0ade1328c.tar.xz
mgatools-8241f3a04f646594df413913c4cc12e0ade1328c.zip
rename $rpmsrate_base as $rpmsrate_raw_file
Diffstat (limited to 'clean-rpmsrate')
-rwxr-xr-xclean-rpmsrate4
1 files changed, 2 insertions, 2 deletions
diff --git a/clean-rpmsrate b/clean-rpmsrate
index 04ac3c0..8ab8f04 100755
--- a/clean-rpmsrate
+++ b/clean-rpmsrate
@@ -15,8 +15,8 @@ $ARGV[1] or print "\nUsage:
-o file: output file\n\n" and exit();
my %rpm;
-my $rpmsrate_base = shift @ARGV;
+my $rpmsrate_raw_file = shift @ARGV;
foreach my $d (@ARGV) {
$rpm{$d} = [ map { s!$d/?(.*)\.rpm$!$1!; $_ } glob "$d/*.rpm" ];
}
-cleanrpmsrate($rpmsrate_base, $output_file, \%rpm);
+cleanrpmsrate($rpmsrate_raw_file, $output_file, \%rpm);