Permalink
Browse files

now create apps dir if it does not exist (before trying to link submo…

…dules)
  • Loading branch information...
1 parent 2ad1ec2 commit 5ea46877032c49f85c53f7d2f033998d1cc88a19 @trey0 trey0 committed Mar 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 skel/management/bootstrap.py
View
2 skel/management/bootstrap.py
@@ -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:

0 comments on commit 5ea4687

Please sign in to comment.