This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new fa08ddf [CI] Add missing quote for omittable variable (#2235)
fa08ddf is described below
commit fa08ddfbe8ada173b2c621172e176f159ce3b728
Author: Kouhei Sutou <[email protected]>
AuthorDate: Tue Jul 10 09:22:50 2018 +0900
[CI] Add missing quote for omittable variable (#2235)
This suppresses the following warnings:
/Users/travis/build/apache/arrow/ci/travis_env_common.sh: line 35: [:
==: unary operator expected
/home/travis/build/apache/arrow/ci/travis_install_linux.sh: line 28: [:
==: unary operator expected
---
ci/travis_env_common.sh | 2 +-
ci/travis_install_linux.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/travis_env_common.sh b/ci/travis_env_common.sh
index 8704bd4..5e4fe25 100755
--- a/ci/travis_env_common.sh
+++ b/ci/travis_env_common.sh
@@ -32,7 +32,7 @@ export ARROW_INTEGRATION_DIR=$TRAVIS_BUILD_DIR/integration
export ARROW_RUBY_DIR=$TRAVIS_BUILD_DIR/ruby
export ARROW_RUST_DIR=${TRAVIS_BUILD_DIR}/rust
-if [ $ARROW_TRAVIS_COVERAGE == "1" ]; then
+if [ "$ARROW_TRAVIS_COVERAGE" == "1" ]; then
export ARROW_CPP_COVERAGE_FILE=${TRAVIS_BUILD_DIR}/coverage.info
export ARROW_PYTHON_COVERAGE_FILE=${TRAVIS_BUILD_DIR}/.coverage
fi
diff --git a/ci/travis_install_linux.sh b/ci/travis_install_linux.sh
index b1e21ea..38b5fcf 100755
--- a/ci/travis_install_linux.sh
+++ b/ci/travis_install_linux.sh
@@ -25,6 +25,6 @@ if [ "$ARROW_TRAVIS_VALGRIND" == "1" ]; then
sudo apt-get install -y -q valgrind
fi
-if [ $ARROW_TRAVIS_COVERAGE == "1" ]; then
+if [ "$ARROW_TRAVIS_COVERAGE" == "1" ]; then
sudo apt-get install -y -q lcov
fi