]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix a typo in parse_templates.
authorPeter Powell <petpow@saberuk.com>
Tue, 22 Mar 2016 22:15:53 +0000 (22:15 +0000)
committerPeter Powell <petpow@saberuk.com>
Tue, 22 Mar 2016 23:38:43 +0000 (23:38 +0000)
make/configure.pm

index e314e6d159305cfe0a6082072f576a04616874f8..06dd4de19f602444a7ea43a1742e87f268c5f23a 100644 (file)
@@ -419,7 +419,7 @@ sub parse_templates($$$) {
 
                                # Write the template file.
                                print_format "Writing <|GREEN $target|> ...\n";
 
                                # Write the template file.
                                print_format "Writing <|GREEN $target|> ...\n";
-                               open(TARGET, '>', $target) or print_error "unable to write $_: $!";
+                               open(TARGET, '>', $target) or print_error "unable to write $target: $!";
                                foreach (@final_lines) {
                                        say TARGET $_;
                                }
                                foreach (@final_lines) {
                                        say TARGET $_;
                                }