Skip to content
Browse files

fabfile: fix permissions

  • Loading branch information...
1 parent 88539c5 commit 570c60c8ced4398aeaed26af745a84d277f623c9 @vincentbernat committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 fabfile.py
View
5 fabfile.py
@@ -68,6 +68,11 @@ def build():
'"'
r"s@\([\"']\)%s%s\1@\1%s%s\1@g"
'"' % (media, f, media, newname))
+
+ # Fix permissions
+ local(r"find * -type f -print0 | xargs -r0 chmod a+r")
+ local(r"find * -type d -print0 | xargs -r0 chmod a+rx")
+
local("git add *")
local("git diff --stat HEAD")
answer = prompt("More diff?", default="yes")

0 comments on commit 570c60c

Please sign in to comment.
Something went wrong with that request. Please try again.