more tests

This commit is contained in:
2017-03-10 12:37:11 -05:00
parent 33ccaa9e45
commit 0fadebf7d8
6 changed files with 48 additions and 3 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ if [ ! "$SKIP_INSTALL" ]; then
fi
# If Pip isn't up to date:
if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
if [ "$FRESH_PYTHON" ] || pip list -o --format=legacy --disable-pip-version-check | grep '^pip' 2>&1 /dev/null; then
# TODO: automatically detect pip is out of date with 'pip list -o --format=legacy --disable-pip-version-check | grep '^pip''
WORKING_DIR=$(pwd)
TMPTARDIR=$(mktemp -d)