richard pushed to branch main at The Tor Project / Applications / RBM
Commits:
-
05e32169
by Nicolas Vigier at 2024-03-18T13:52:40+01:00
1 changed file:
Changes:
... | ... | @@ -1001,6 +1001,8 @@ sub input_files { |
1001 | 1001 | my $file_gpg_id = gpg_id($t->('file_gpg_id'));
|
1002 | 1002 | if (input_file_need_dl($input_file, $t, $fname, $action)) {
|
1003 | 1003 | if ($t->('content')) {
|
1004 | + my $dname = dirname("$proj_out_dir/$name");
|
|
1005 | + make_path($dname) unless -d $dname;
|
|
1004 | 1006 | path("$proj_out_dir/$name")->spew_utf8($t->('content'));
|
1005 | 1007 | } elsif ($t->('URL')) {
|
1006 | 1008 | urlget($project, {%$options, %$input_file, filename => $name}, 1);
|