mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove redundant directory symlink directive
This commit is contained in:
parent
a9fd7c4d6f
commit
2a7e0b2a48
@ -79,8 +79,8 @@ def main():
|
||||
if not os.path.exists(os.path.join(armapath, MAINDIR)):
|
||||
os.mkdir(os.path.join(armapath, MAINDIR))
|
||||
|
||||
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])
|
||||
subprocess.call(["cmd", "/c", "mklink", "/J", "P:\\{}\\{}".format(MAINDIR,PROJECTDIR), projectpath])
|
||||
subprocess.call(["cmd", "/c", "mklink", "/J", os.path.join(armapath, MAINDIR, PROJECTDIR), projectpath])
|
||||
except:
|
||||
raise
|
||||
print("Something went wrong during the link creation. Please finish the setup manually.")
|
||||
|
Loading…
Reference in New Issue
Block a user