travis: build_package: use which

This commit is contained in:
Ruslan Kuprieiev
2019-07-10 15:46:51 +03:00
committed by GitHub
parent d5c473acd4
commit ccb0d7d1b3
+1 -1
View File
@@ -14,7 +14,7 @@ python setup.py bdist_wheel --universal
# Make sure we have a correct version
if [[ -n "$TRAVIS_TAG" ]]; then
pip uninstall -y dvc
if [[ -n "$(command -v dvc)" ]]; then
if which dvc; then
echo "ERROR: dvc command still exists! Unable to verify dvc version."
exit 1
fi