Permalink
Browse files

make sure sitesettings manage.py has chmod +x

  • Loading branch information...
1 parent 66a5f84 commit 81f9144051ab24c80afd737d3ad98785c8527090 @bretth committed Dec 19, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 woven/project.py
View
@@ -79,6 +79,11 @@ def deploy_project():
link_name = '/'.join([deployment_root(),'env',env.project_fullname,'lib/python2.6/site-packages',env.project_package_name])
target = '/'.join([project_root,env.project_package_name])
run(' '.join(['ln -s',target,link_name]))
+
+ #make sure manage.py has exec permissions
+ managepy = '/'.join([target,'sitesettings','manage.py'])
+ if exists(managepy):
+ sudo('chmod ugo+x %s'% managepy)
return created

0 comments on commit 81f9144

Please sign in to comment.