summaryrefslogtreecommitdiffstats
path: root/clean-rpmsrate
diff options
context:
space:
mode:
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 2e90985..2bdac4f 100755
--- a/clean-rpmsrate
+++ b/clean-rpmsrate
@@ -17,7 +17,7 @@ $ARGV[1] or print "\nUsage:
my $rpmsrate_raw_file = shift @ARGV;
my %rpm;
-foreach my $d (@ARGV) {
- $rpm{$d} = [ map { s!$d/?(.*)\.rpm$!$1!; $_ } glob "$d/*.rpm" ];
+foreach my $dir (@ARGV) {
+ $rpm{$dir} = [ map { s!$dir/?(.*)\.rpm$!$1!; $_ } glob "$dir/*.rpm" ];
}
cleanrpmsrate($rpmsrate_raw_file, $output_file, \%rpm);