summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index fb42180c7..30ef121e2 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -267,6 +267,7 @@ sub open_file {
sub secured_file {
my ($f) = @_;
+ mkdir_p(dirname($f));
c::is_secure_file($f) or die "cannot ensure a safe $f";
$f;
}