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:
@ -79,8 +79,8 @@ def main():
|
|||||||
if not os.path.exists(os.path.join(armapath, MAINDIR)):
|
if not os.path.exists(os.path.join(armapath, MAINDIR)):
|
||||||
os.mkdir(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", "/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", os.path.join(armapath, MAINDIR, PROJECTDIR), projectpath])
|
||||||
except:
|
except:
|
||||||
raise
|
raise
|
||||||
print("Something went wrong during the link creation. Please finish the setup manually.")
|
print("Something went wrong during the link creation. Please finish the setup manually.")
|
||||||
|
Reference in New Issue
Block a user