summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-05 11:54:09 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-05 11:54:09 +0000
commit2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643 (patch)
tree8a174842da8d22d54e12f435278f6981c6f28b86 /perl-install/printer.pm
parenta3f21e6d00f52788681f3a44ee355338a99a5c63 (diff)
downloaddrakx-2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643.tar
drakx-2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643.tar.gz
drakx-2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643.tar.bz2
drakx-2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643.tar.xz
drakx-2d7ce2007c8bcaf5b7e45e0a1dd67862a5637643.zip
no_comment
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index 24b8af811..b02fe3a10 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -363,8 +363,8 @@ sub create_config_file($$%) {
while (<IN>) {
if (/@@@(.*)@@@/) {
- defined($toreplace{$1}) or die "I can't replace $chaine";
- s/@@@(.*)@@@/$toreplace{$1}/g;
+ my $r = $toreplace{$1} or die "I can't replace $1";
+ s/@@@(.*)@@@/$r/g;
}
print OUT;
}