changed grep statement to match 2 patterns

Now matches both "anaconda" and "continuum analytics"
This commit is contained in:
matthdsm
2016-05-17 08:06:21 +02:00
parent 90c48ff6e3
commit ea2e9163d6
+1 -1
View File
@@ -9,7 +9,7 @@ for arg in "$@"; do
done
# Conda Python is in use, do not use virtualenv
if python -V 2>&1 | grep -q 'Anaconda'; then
if python -V 2>&1 | grep -q -e 'Anaconda' -e 'Continuum Analytics' ; then
SET_VENV=0
fi