summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 9e3dd219..6765736e 100755
--- a/urpmi
+++ b/urpmi
@@ -193,7 +193,7 @@ along with --bug.\n");
}
# Process the rest of the arguments
-while (defined($_ = shift @ARGV)) {
+foreach (@ARGV) {
if (/\.(?:rpm|spec)$/) {
if (/\.(?:src\.rpm|spec)$/) {
push @src_files, $_;