mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
travis: build_package: use which
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user