]> bicyclesonthemoon.info Git - botm/config/commitdiff
Fixed output to file (not STDOUT)
authorb <rowerynaksiezycu@gmail.com>
Sat, 24 Sep 2022 09:51:06 +0000 (09:51 +0000)
committerb <rowerynaksiezycu@gmail.com>
Sat, 24 Sep 2022 09:51:06 +0000 (09:51 +0000)
configure.pl

index 9952e8d7c41cf7a7091b3c595a0ac7ace689ca79..3a13a61c85db53bb822688f66c9bcf277a5bbfb8 100755 (executable)
@@ -994,7 +994,7 @@ sub convert_file {
                $line =~ s/[\r\n]//g;
                foreach my $key (keys %replace_line) {
                        if (index($line, $key) >= 0) {
-                               print "$replace_line{$key}\n";
+                               print $out "$replace_line{$key}\n";
                                next LINE;
                        }
                }