From a1666c8de27793b8fd64c8cdee2a6d57e7337f84 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 30 Jun 2016 23:22:33 +0300 Subject: [PATCH] travis final fix --- .ci/script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/script.sh b/.ci/script.sh index 58df35a1..0ec0e8a2 100644 --- a/.ci/script.sh +++ b/.ci/script.sh @@ -21,7 +21,8 @@ if [[ -z "$DOCKER_DIST" ]]; then make test fi -if [[ $(command -v shellcheck; echo $?) -eq 0 ]]; then +SHELLCHECK=$(command -v shellcheck; echo $?) +if [[ "$SHELLCHECK" -eq 0 ]]; then echo 'running lint' # If running a native build with lint param, do a lint: find src -type f -name '*.sh' -print0 | xargs -0 -I {} shellcheck {}