aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-14 13:52:03 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-14 13:52:03 +0000
commit81743437e5e8814689edfc0f7e43e04cc8fe3d21 (patch)
tree98699374ef7850331cf34e9195c3b95081143e9e
parente1a76c3fa12021e6f8454fd0259b1418423b2d08 (diff)
downloadrpmdrake-81743437e5e8814689edfc0f7e43e04cc8fe3d21.tar
rpmdrake-81743437e5e8814689edfc0f7e43e04cc8fe3d21.tar.gz
rpmdrake-81743437e5e8814689edfc0f7e43e04cc8fe3d21.tar.bz2
rpmdrake-81743437e5e8814689edfc0f7e43e04cc8fe3d21.tar.xz
rpmdrake-81743437e5e8814689edfc0f7e43e04cc8fe3d21.zip
strip processed options like --urpmi-root for gurpmi.addmedia
-rw-r--r--Rpmdrake/init.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 0937ab7c..c15b3df7 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -93,6 +93,7 @@ foreach (@ARGV) {
my ($name, $values) = split /=/, $val;
my @values = split /,/, $values;
$rpmdrake_options{$name} = \@values if @values;
+ undef $_;
} else {
if ($val eq 'version') {
print "$0 $version\n";