Skip to content

Commit

Permalink
Try to make the directories
Browse files Browse the repository at this point in the history
  • Loading branch information
iancmcc committed Oct 1, 2013
1 parent 73ba038 commit 47b8985
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/zenoss.europadev/src/zenoss/europadev/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ class clone(command):

def execute(self, value, config):
say("git clone {0} -> {1}".format(config.remotepath(), config.rootpath()))
try:
os.makedirs(os.path.dirname(config.localpath()))
except OSError:
pass
result = git("clone", config.remotepath(), config.localpath())
if result == 0:
shell("git flow init -d 2>&1 >%s" % os.devnull, cwd=config.localpath())
Expand Down

0 comments on commit 47b8985

Please sign in to comment.