Skip to content

Commit 3757960

Browse files
author
Kenneth Reitz
committed
2 directory levels, not 3
1 parent d8a70de commit 3757960

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/detect

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ IFS_BAK=
5858
}
5959

6060

61-
62-
SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'settings.py' | head -1)
61+
SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 2 -type f -name 'settings.py' | head -1)
6362

6463

6564
[ -n "$SETTINGS_FILE" ] && ( list_requirements $BUILD_DIR/requirements.txt | grep -Fiq "django" ) && echo Python/Django || echo Python

0 commit comments

Comments
 (0)