Commit 5c376246 authored by Mike Hibler's avatar Mike Hibler

Do recursive mkdir of the logdir (mkdir -p).

If we are using the "no nfs mounts" option, only the top level /proj/<foo>
directory will exist.
parent f30efc9f
......@@ -460,8 +460,10 @@ if(&is_special_node() || !$SHAREDDIR) {
#
# The shared path does not exist, create it.
#
mkdir (&check_filename($linktest_path),0777)
|| die("Could not create directory $linktest_path: $!");
my $ltpath = &check_filename($linktest_path);
if (system("mkdir -p -m 0777 $ltpath")) {
die("Could not create directory $linktest_path: $!");
}
chown($swapperid, $swappergid, $linktest_path);
}
......
Markdown is supported
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