Update pipenv check to just test the binary

This commit is contained in:
Devon Mackay 2018-07-10 15:20:21 -04:00
parent d620fb6cc0
commit fc62dcdb65

View File

@ -26,8 +26,8 @@ rm -rf ./node_modules
if [ "${CREATE_VENV}" = "true" ]; then if [ "${CREATE_VENV}" = "true" ]; then
# Ensure pipenv is installed # Ensure pipenv is installed
if ! check_system_pip_for pipenv; then if ! pipenv --version >/dev/null 2>&1 ; then
echo "ERROR: pipenv is required but is not present" echo "ERROR: pipenv is malfunctioning or not present"
exit 1 exit 1
fi fi
create_virtual_environment create_virtual_environment