Skip to content
Snippets Groups Projects
Commit 7243afd5 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

simplify django check

parent 0a75bc97
No related branches found
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment