mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
travis: properly check for command existance
This commit is contained in:
@@ -15,7 +15,7 @@ if [[ ! -z "$TRAVIS_TAG" ]]; then
|
||||
|
||||
# Test version
|
||||
pip uninstall -y dvc
|
||||
if ! type dvc > /dev/null; then
|
||||
if [ -x "$(command -v dvc)" ]; then
|
||||
print "ERROR: dvc command already exists!!!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user