X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/2727fc610fdf454364f8144e57f5069074029f74..322439df5d8a8928b8db4bb41aeae33030038f61:/script/gen.pl diff --git a/script/gen.pl b/script/gen.pl index d086fd3..3c1137b 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -3,7 +3,7 @@ use strict; use warnings; -use CSS::Minifier::XS; +use CSS::Minifier::XS 0.07; use File::Copy; use File::Find; use File::Slurp; @@ -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; }