aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 (.*)/) {