Skip to content

Commit

Permalink
now create apps dir if it does not exist (before trying to link submo…
Browse files Browse the repository at this point in the history
…dules)
  • Loading branch information
trey0 committed Mar 10, 2011
1 parent 2ad1ec2 commit 5ea4687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skel/management/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def gitInitSubmodules(opts):
dosys('git submodule update')

def linkSubmodules(opts):
if not os.path.exists('apps'):
os.mkdir('apps')
# assumes each submodule app has a models dir or a models.py file
submoduleAppDirs = [os.path.dirname(d) for d in glob('submodules/*/*/models*')]
for src in submoduleAppDirs:
Expand Down

0 comments on commit 5ea4687

Please sign in to comment.