Commit 2b1f1182 authored by Kenneth Reitz's avatar Kenneth Reitz

Merge pull request #211 from ollanta/ollanta/prefer-shallow-managepy

Prefer a 'manage.py' that exists higher up in the directory hierarchy
parents 33a69d7f 38fc8f4f
......@@ -2,7 +2,7 @@
source $BIN_DIR/utils
MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' | head -1)
MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' -printf '%d\t%P\n' | sort -nk1 | cut -f2 | head -1)
MANAGE_FILE=${MANAGE_FILE:-fakepath}
[ -f .heroku/collectstatic_disabled ] && DISABLE_COLLECTSTATIC=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment