aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/init.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 28669652..902e3628 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- gurpmi.addmedia:
o fix displaying --help
+ o fix --urpmi-root option
- rpmdrake:
o update GUI package list
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 94e7a203..d1a5c290 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -102,7 +102,7 @@ foreach (@ARGV) {
my ($name, $values) = split /=/, $val;
my @values = split /,/, $values;
$rpmdrake_options{$name} = \@values if @values;
- undef $_;
+ shift @ARGV
} else {
if ($val eq 'version') {
print "$0 $version\n";