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