From 375796063b6fc74c860d2e8572581b81191d2c78 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Mon, 30 Apr 2012 13:48:02 -0400 Subject: [PATCH] 2 directory levels, not 3 --- bin/detect | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/detect b/bin/detect index 4fe8dcc4..b4c999e3 100755 --- a/bin/detect +++ b/bin/detect @@ -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 \ No newline at end of file -- GitLab