Commit 6614fe87 authored by Robert Ricci's avatar Robert Ricci
Browse files

For consistency, for default groups, rather than not making a group

directory, symlink in /proj/<pid> .
parent 8a5fcebe
......@@ -215,10 +215,19 @@ foreach my $tipserver ( TBTipServers() ) {
}
#
# Create the group directory if it does not already exist, but not for
# the default group of the project.
# Create the group directory if it does not already exist - for default groups,
# though, we just link to the /proj drectory
#
if ($pid ne $gid) {
if ($pid eq $gid) {
if (! -e $groupdir) {
print "Linking default group directory: $groupdir.\n";
my $projdir = "$PROJROOT/$pid";
if (system("ln -s $projdir $groupdir")) {
fatal("Could not link group directory $projdir to $groupdir");
}
}
} else {
if (! -e $groupdir) {
print "Creating group directory: $groupdir.\n";
......
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