From acda47a463aed3e9bc8add4a29147766b7c58caf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Sep 2008 16:05:10 +0000 Subject: be able to handle --expert --- Rpmdrake/init.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index a7c5e059..7f79851d 100644 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -110,8 +110,8 @@ foreach (@ARGV) { if ($val eq 'version') { print "$0 $version\n"; exit(0); - } elsif ($val eq 'test') { - $::test = 1; + } elsif ($val =~ /^(test|expert)$/) { + eval "\$::$1 = 1"; } else { $rpmdrake_options{$val} = 1; } -- cgit v1.2.1