mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Always use junctions for dev environment setup
This commit is contained in:
parent
8eb7d28e29
commit
a9fd7c4d6f
@ -79,10 +79,6 @@ def main():
|
||||
if not os.path.exists(os.path.join(armapath, MAINDIR)):
|
||||
os.mkdir(os.path.join(armapath, MAINDIR))
|
||||
|
||||
if platform.win32_ver()[0] == "7":
|
||||
subprocess.call(["cmd", "/c", "mklink", "/D", "P:\\{}\\{}".format(MAINDIR,PROJECTDIR), projectpath])
|
||||
subprocess.call(["cmd", "/c", "mklink", "/D", os.path.join(armapath, MAINDIR, PROJECTDIR), projectpath])
|
||||
else:
|
||||
subprocess.call(["cmd", "/c", "mklink", "/D", "/J", "P:\\{}\\{}".format(MAINDIR,PROJECTDIR), projectpath])
|
||||
subprocess.call(["cmd", "/c", "mklink", "/D", "/J", os.path.join(armapath, MAINDIR, PROJECTDIR), projectpath])
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user