aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-17 13:43:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-17 13:43:30 +0200
commit8baf8960949c2a30abc04e61bd42fc23be8463f7 (patch)
treeabad6e632c03bf99f762b2f4408c86af0d1bd3a8
parentb9c06d9c3f0861d4a4b196f30c65da8641e1a274 (diff)
downloadperlisdead-master.tar.gz
Fix b37fe9bed32a78bbe43ba2c152989d34f051ef85HEADmaster
-rwxr-xr-xgen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen.pl b/gen.pl
index b3a3b8a..50c7527 100755
--- a/gen.pl
+++ b/gen.pl
@@ -36,7 +36,7 @@ chdir $Bin;
mkdir 'out' if ! -d 'out';
open my $src, '<', 'src/index.html' or die "Could not open < src/index.html: $!";
open my $out, '>', 'out/index.html.tmp' or die "Could not open > out/index.html.tmp: $!";
-copy 'src/index.html', 'src/index.html.bkp';
+copy 'out/index.html', 'out/index.html.bkp';
select $out;
for (<$src>) {
when (/^\.inc (.*)/) {