Commit 3b0a8bdd authored by Lincoln Stoll's avatar Lincoln Stoll

Settings file path needs to be relative to project root

parent 743effb5
...@@ -17,7 +17,7 @@ EOF ...@@ -17,7 +17,7 @@ EOF
[ "$NAME" = "Python/Django" ] || exit 0 [ "$NAME" = "Python/Django" ] || exit 0
SETTINGS_FILE=$(ls $BUILD_DIR/**/settings.py | head -1) SETTINGS_FILE=$(cd $BUILD_DIR && ls **/settings.py | head -1)
PROJECT=$(dirname $SETTINGS_FILE) PROJECT=$(dirname $SETTINGS_FILE)
cat <<EOF 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