Skip to content

Commit

Permalink
This doesn't work for zip/tar distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmccarthy committed Aug 9, 2014
1 parent 3bb105e commit 9d9c163
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion get_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ def run(*args, **kwargs):
subprocess.check_call(args, **kwargs)

def get_submodules():
run("git", "submodule", "update", "--init")
if os.path.isdir(".git"):
run("git", "submodule", "update", "--init")
else:
run("git", "clone", "https://github.com/shaurz/fsmonitor.git")

def get_aui():
if os.path.isdir("aui"):
Expand Down

0 comments on commit 9d9c163

Please sign in to comment.