Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 import os
00010 import subprocess
00011
00012 clone_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
00013 print(clone_path)
00014 os.chdir(clone_path)
00015 subprocess.check_call(["git", "clone", "git://github.com/arktools/arkcmake.git","arkcmake_tmp"])
00016 subprocess.check_call(["rm", "-rf", "arkcmake_tmp/.git"])
00017 if os.path.isdir("arkcmake"):
00018 subprocess.check_call(["rm", "-rf", "arkcmake"])
00019 subprocess.check_call(["mv", "arkcmake_tmp", "arkcmake"])