diff --git a/Web/lib/MJB/Web/Task/CreateBlog.pm b/Web/lib/MJB/Web/Task/CreateBlog.pm index 6d43131..6a86352 100644 --- a/Web/lib/MJB/Web/Task/CreateBlog.pm +++ b/Web/lib/MJB/Web/Task/CreateBlog.pm @@ -8,7 +8,7 @@ sub run ( $job, $blog_id ) { $job->note( _mds_template => 'create_blog' ); - my $dir = tempdir; + my $dir = tempdir->create_path;; $job->system_command( [qw( podman run -ti --rm -v .:/srv/jekyll -e JEKYLL_ROOTLESS=1 docker.io/jekyll/jekyll jekyll new blog ) ], { chdir => $dir->to_string,