summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-03 14:04:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-03 14:04:05 +0000
commit1237e4d37cbf391f40f9ddc72b7c629e7ead7823 (patch)
tree8909701345bdc19b732529c0aa4c3c65fbf3c7b5 /urpmi
parentc90808002a892732180a8c02a41c08e05940c68e (diff)
downloadurpmi-1237e4d37cbf391f40f9ddc72b7c629e7ead7823.tar
urpmi-1237e4d37cbf391f40f9ddc72b7c629e7ead7823.tar.gz
urpmi-1237e4d37cbf391f40f9ddc72b7c629e7ead7823.tar.bz2
urpmi-1237e4d37cbf391f40f9ddc72b7c629e7ead7823.tar.xz
urpmi-1237e4d37cbf391f40f9ddc72b7c629e7ead7823.zip
simplify
Diffstat (limited to 'urpmi')
-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, $_;