diff --git a/library/git b/library/git index f02616394f..8f5c198a90 100755 --- a/library/git +++ b/library/git @@ -87,7 +87,7 @@ def get_version(dest): def clone(repo, dest, branch): ''' makes a new git repo if it does not already exist ''' try: - os.makedirs(dest) + os.makedirs(os.path.dirname(dest)) except: pass cmd = "git clone %s %s" % (repo, dest)