diff options
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r-- | Rpmdrake/init.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |