summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-01-09 01:31:35 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-09 01:47:54 +0100
commitae98b37489fe09b65b20fdf0cb7a85023738f1be (patch)
treef9234851fafeca6460503fa0b7dfdc4570f6e3ba /perl-install/install/install2.pm
parent536363ad8f09bbba896f5869c65870f81118fa6c (diff)
downloaddrakx-ae98b37489fe09b65b20fdf0cb7a85023738f1be.tar
drakx-ae98b37489fe09b65b20fdf0cb7a85023738f1be.tar.gz
drakx-ae98b37489fe09b65b20fdf0cb7a85023738f1be.tar.bz2
drakx-ae98b37489fe09b65b20fdf0cb7a85023738f1be.tar.xz
drakx-ae98b37489fe09b65b20fdf0cb7a85023738f1be.zip
fix parsing stage1's automatic option (mga#17441)
regression introduced in commit 560f9ca983d743cc42701c24546ac8c2080a13fe
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 640d9e57c..53de2f139 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -521,7 +521,7 @@ sub parse_args {
#- from stage1
put_in_hash(\%ENV, { getVarsFromSh('/tmp/env') });
- exists $ENV{$_} and $cmdline{lc($_)} = $ENV{$_} foreach qw(METHOD PCMCIA KICKSTART);
+ exists $ENV{$_} and push @cmdline, sprintf("--%s=%s", lc($_), $ENV{$_}) foreach qw(METHOD PCMCIA KICKSTART);
GetOptionsFromArray(\@cmdline,
'keyboard=s' => sub { $o->{keyboard} = $_[1]; push @::auto_steps, 'selectKeyboard' },