Permalink
Browse files

Better pre-commit hook

  • Loading branch information...
mattrobenolt committed Jan 20, 2013
1 parent 6cbb738 commit d19dd214a21a671fe33d2a6db1fdf09bdffcc066
Showing with 2 additions and 1 deletion.
  1. +2 −1 hooks/pre-commit.example
View
@@ -1,3 +1,4 @@
#!/bin/sh
-python manage.py proofread
+MANAGE=`find . -name manage.py | head -1`
+python $MANAGE proofread

0 comments on commit d19dd21

Please sign in to comment.