Skip to content

Commit e339fde

Browse files
committed
Create virtualenv's bin directory explicitly to avoid CI failures
1 parent e83a1f1 commit e339fde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/pyenv-virtualenv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ if [ -d "${VIRTUALENV_PATH}" ] && [ -n "${COMPAT_VIRTUALENV_PATH}" ]; then
534534
fi
535535

536536
if [ ! -e "${VIRTUALENV_PATH}/bin/pydoc" ]; then
537+
mkdir -p "${VIRTUALENV_PATH}/bin"
537538
cat <<EOS > "${VIRTUALENV_PATH}/bin/pydoc"
538539
#!${VIRTUALENV_PATH}/bin/python
539540
import pydoc

0 commit comments

Comments
 (0)