Commit 70ef8e9e by Michael DeHaan

Merge pull request #637 from goozbach/git-mkdir

git mkdir causes problems with older git (can't c/o to existing directory)
parents dba87fce f0f8eb34
...@@ -87,7 +87,7 @@ def get_version(dest): ...@@ -87,7 +87,7 @@ def get_version(dest):
def clone(repo, dest, branch): def clone(repo, dest, branch):
''' makes a new git repo if it does not already exist ''' ''' makes a new git repo if it does not already exist '''
try: try:
os.makedirs(dest) os.makedirs(os.path.dirname(dest))
except: except:
pass pass
cmd = "git clone %s %s" % (repo, dest) cmd = "git clone %s %s" % (repo, dest)
......
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