Commit 42d977bb authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add a missing mkdir ...

parent 41b3033c
...@@ -1084,6 +1084,10 @@ system("cp -Rfp $workdir/ $userdir/tbdata/"); ...@@ -1084,6 +1084,10 @@ system("cp -Rfp $workdir/ $userdir/tbdata/");
# #
$archivedir = libArchive::TBUserFileArchiveDirectory($pid, $eid); $archivedir = libArchive::TBUserFileArchiveDirectory($pid, $eid);
if (! -e "$archivedir") {
mkdir("$archivedir")
or fatal("Failed to mkdir $archivedir");
}
if (! -e "$archivedir/tbdata") { if (! -e "$archivedir/tbdata") {
mkdir("$archivedir/tbdata") mkdir("$archivedir/tbdata")
or fatal("Failed to mkdir $archivedir/tbdata"); or fatal("Failed to mkdir $archivedir/tbdata");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment