diff options
-rwxr-xr-x | clean-rpmsrate | 4 |
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); |