Commit f34599c5 authored by Kenneth Reitz's avatar Kenneth Reitz

relative detect path

parent 97c5f094
......@@ -20,8 +20,8 @@ EOF
[ "$NAME" = "Python/Django" ] || exit 0
SETTINGS_FILE=$(find $BUILD_DIR -type f -name 'settings.py' | head -1)
MANAGE_FILE=$(find $BUILD_DIR -type f -name 'manage.py' | head -1)
SETTINGS_FILE=$(cd $BUILD_DIR && find . -type f -name 'settings.py' | head -1)
MANAGE_FILE=$(cd $BUILD_DIR && find . -type f -name 'manage.py' | head -1)
PROJECT=$(dirname $MANAGE_FILE)
cat <<EOF
......
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