2 directory levels, not 3

This commit is contained in:
Kenneth Reitz
2012-04-30 13:48:02 -04:00
parent d8a70de8a8
commit 375796063b
+1 -2
View File
@@ -58,8 +58,7 @@ IFS_BAK=
}
SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'settings.py' | head -1)
SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 2 -type f -name 'settings.py' | head -1)
[ -n "$SETTINGS_FILE" ] && ( list_requirements $BUILD_DIR/requirements.txt | grep -Fiq "django" ) && echo Python/Django || echo Python