Commit 7d391a91 authored by Mike Hibler's avatar Mike Hibler

Do not need a slash after $AMDROOT anyway!

Yes, actually tested it this time...
parent 23aea781
......@@ -533,11 +533,11 @@ sub TBValidUserDir($$;$$$)
$sroot = $FSDIR_SCRATCH;
}
} elsif ($WITHAMD) {
$uroot = "$AMDROOT/$USERROOT";
$proot = "$AMDROOT/$PROJROOT";
$groot = "$AMDROOT/$GROUPROOT";
$uroot = "${AMDROOT}$USERROOT";
$proot = "${AMDROOT}$PROJROOT";
$groot = "${AMDROOT}$GROUPROOT";
if ($FSDIR_SCRATCH) {
$sroot = "$AMDROOT/$SCRATCHROOT";
$sroot = "${AMDROOT}$SCRATCHROOT";
}
} else {
$uroot = $USERROOT;
......
......@@ -91,8 +91,8 @@ if ($ISFS) {
$pr = PROJROOT();
$gr = GROUPROOT();
if ($AMDROOT) {
$pr = "$AMDROOT/$pr";
$gr = "$AMDROOT/$gr";
$pr = "${AMDROOT}$pr";
$gr = "${AMDROOT}$gr";
}
}
if ($dst =~ /^(($pr|$gr)\/[-\w\/.]+)$/) {
......
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