X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=gen_website;h=398613e657cc2bceb885a072d951368cbb0c230f;hb=1fce34f10ff6bdb0dc2bf3500c5f50a94e611bbd;hp=4345f1929d0129fdb16e080a8e429fa76094c65a;hpb=fad92c355573717c9fd012dc4f9473698801959a;p=grml.org.git diff --git a/gen_website b/gen_website index 4345f19..398613e 100644 --- a/gen_website +++ b/gen_website @@ -34,6 +34,7 @@ foreach my $file (@files) { || die "Could not process file \"$file\": $!"; my ($name,$path,$suffix) = fileparse($file,qw (.tt2)); + make_path("$out_dir/$path") unless -d "$out_dir/$path"; open (my $fh, '>', "$out_dir/$path/$name") or die "Could not write to $file: $!"; print $fh $output;