diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-08 18:41:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-08 18:41:06 +0000 |
commit | db4013c2a40eaeb3752cc69623037e4bb274693b (patch) | |
tree | 673a8af442a819373d5ef1a12960622ed03fe7e6 /perl-install/install2.pm | |
parent | 76e650b30ec0a17c0e3647cab46386744e837281 (diff) | |
download | drakx-backup-do-not-use-db4013c2a40eaeb3752cc69623037e4bb274693b.tar drakx-backup-do-not-use-db4013c2a40eaeb3752cc69623037e4bb274693b.tar.gz drakx-backup-do-not-use-db4013c2a40eaeb3752cc69623037e4bb274693b.tar.bz2 drakx-backup-do-not-use-db4013c2a40eaeb3752cc69623037e4bb274693b.tar.xz drakx-backup-do-not-use-db4013c2a40eaeb3752cc69623037e4bb274693b.zip |
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index c46226bb0..abcae4402 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -584,9 +584,10 @@ sub main { }; $clicked = 0; while ($@) { - $@ =~ /^setstep (.*)/ and $o->{step} = $1, $clicked = 1, redo MAIN; - $@ =~ /^theme_changed$/ and redo MAIN; - eval { $o->errorInStep($@) }; + local $_ = $@; + /^setstep (.*)/ and $o->{step} = $1, $clicked = 1, redo MAIN; + /^theme_changed$/ and redo MAIN; + eval { $o->errorInStep($_) }; $@ and next; $o->{step} = $o->{steps}{$o->{step}}{onError}; redo MAIN; |