From d5c473acd48300416d9722d23b9de1669f7a889c Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 10 Jul 2019 15:41:52 +0300 Subject: [PATCH] travis: fix build_package.sh --- scripts/build_package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_package.sh b/scripts/build_package.sh index bdf6fd5b5..a633bf8ff 100755 --- a/scripts/build_package.sh +++ b/scripts/build_package.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e +set -x if [ ! -d "dvc" ]; then echo "Please run this script from repository root" @@ -13,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 ! [ -x "$(command -v dvc)" ]; then + if [[ -n "$(command -v dvc)" ]]; then echo "ERROR: dvc command still exists! Unable to verify dvc version." exit 1 fi