aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-03-31 17:39:18 +0300
committerZyX <kp-pav@yandex.ru>2017-03-31 17:39:18 +0300
commitd9069b9fe490e3be3ac06985f7f8625af51d5129 (patch)
treedc311a9995eedbfd52a7a489524e013849cf0db7
parent4c20733f6bbdcfe2a230766aa6b602681a399ac8 (diff)
downloadrneovim-d9069b9fe490e3be3ac06985f7f8625af51d5129.tar.gz
rneovim-d9069b9fe490e3be3ac06985f7f8625af51d5129.tar.bz2
rneovim-d9069b9fe490e3be3ac06985f7f8625af51d5129.zip
ci: Check for exact value of CI_TARGET, not its emptyness
-rwxr-xr-xci/before_install.sh2
-rwxr-xr-xci/before_script.sh2
-rwxr-xr-xci/install.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/ci/before_install.sh b/ci/before_install.sh
index 9aac37de12..5b36adaef2 100755
--- a/ci/before_install.sh
+++ b/ci/before_install.sh
@@ -3,7 +3,7 @@
set -e
set -o pipefail
-if [[ -n "${CI_TARGET}" ]]; then
+if [[ "${CI_TARGET}" == lint ]]; then
exit
fi
diff --git a/ci/before_script.sh b/ci/before_script.sh
index 4a75e89fbe..445996a8df 100755
--- a/ci/before_script.sh
+++ b/ci/before_script.sh
@@ -3,7 +3,7 @@
set -e
set -o pipefail
-if [[ -n "${CI_TARGET}" ]]; then
+if [[ "${CI_TARGET}" == lint ]]; then
exit
fi
diff --git a/ci/install.sh b/ci/install.sh
index 98d3dc01cb..4ee99e1e44 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -3,7 +3,7 @@
set -e
set -o pipefail
-if [[ -n "${CI_TARGET}" ]]; then
+if [[ "${CI_TARGET}" == lint ]]; then
exit
fi