X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/42a7f241e7773d8c0166e43dab65014eb7438c1f..8caff1d1de8a85ad6e0c07d496b26382b831e212:/script/gen.pl diff --git a/script/gen.pl b/script/gen.pl index eb61e05..3c1137b 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -313,7 +313,7 @@ sub transform { mkdirp( ( $out_path =~ /^(.+)\/.+$/ )[0] ); ## Write out the document - open my $out, '>', $out_path or die $!; + open my $out, '>', $out_path or die "Unable to write $out_path - $!"; print $out $stylesheet->output_as_bytes($doc); close $out; }