Skip to content

Commit 5431ee5

Browse files
committed
Properly check for existance of thirdparty dir
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent f3d1fcd commit 5431ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ CFG_BIN_DIR=$CFG_ROOT_DIR/$VIRTUALENV_DIR/bin
5555
################################
5656
# Thirdparty package locations and index handling
5757
# Find packages from the local thirdparty directory or from thirdparty.aboutcode.org
58-
if [ -f "$CFG_ROOT_DIR/thirdparty" ]; then
58+
if [ -d "$CFG_ROOT_DIR/thirdparty" ]; then
5959
PIP_EXTRA_ARGS="--find-links $CFG_ROOT_DIR/thirdparty"
6060
fi
6161
PIP_EXTRA_ARGS="$PIP_EXTRA_ARGS --find-links https://thirdparty.aboutcode.org/pypi/simple/links.html"

0 commit comments

Comments
 (0)