Commit 7243afd5 authored by Kenneth Reitz's avatar Kenneth Reitz

simplify django check

parent 0a75bc97
...@@ -24,6 +24,6 @@ fi ...@@ -24,6 +24,6 @@ fi
# Otherwise, `Python`. # Otherwise, `Python`.
SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'settings.py' | head -1) MANAGE_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'manage.py' | head -1)
[ -n "$SETTINGS_FILE" ] && echo Python/Django || echo Python [ -n "$MANAGE_FILE" ] && grep -Fiq "django" $MANAGE_FILE && echo Python/Django || echo Python
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