From b5b07171ebd6cbcbd3048f5042a410a610c3331c Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Mon, 31 Oct 2022 20:24:46 +0000 Subject: [PATCH] Update --- Web/lib/MJB/Web/Task/CreateBlog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,