Commit f002f04b authored by David Johnson's avatar David Johnson

Don't include SCRATCHROOT_DIR in exports if it's not set.

parent 511ccd3c
...@@ -809,7 +809,9 @@ class fs: ...@@ -809,7 +809,9 @@ class fs:
for proj in projs: for proj in projs:
if proj[0] == proj[1]: if proj[0] == proj[1]:
res.append(PROJROOT + "/" + proj[0]) res.append(PROJROOT + "/" + proj[0])
res.append(SCRATCHROOT + "/" + proj[0]) if not SCRATCHROOT == "":
res.append(SCRATCHROOT + "/" + proj[0])
pass
pass pass
else: else:
res.append(GROUPROOT + "/" + proj[0] + "/" + proj[1]) res.append(GROUPROOT + "/" + proj[0] + "/" + proj[1])
......
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