Skip to content

Commit 83e6a65

Browse files
committed
add doublequote arount $TEST
1 parent 63ab3e7 commit 83e6a65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ apt-get update -qq && apt-get install -y -q wget sudo lsb-release gnupg # for do
114114
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
115115
travis_time_end
116116

117-
if [ $TEST == "catkin_lint" ]; then
117+
if [ "$TEST" == "catkin_lint" ]; then
118118

119119
travis_time_start catkin_lint.script
120120
apt-get install -y -q python-pip
@@ -125,7 +125,7 @@ if [ $TEST == "catkin_lint" ]; then
125125
ROS_DISTRO=melodic catkin_lint --resolve-env --strict $CI_SOURCE_PATH
126126

127127

128-
elif [ $TEST == "clang-format" ]; then
128+
elif [ "$TEST" == "clang-format" ]; then
129129

130130
travis_time_start clang_format.script
131131
apt-get install -y -q clang-format-3.9 git
@@ -134,7 +134,7 @@ elif [ $TEST == "clang-format" ]; then
134134
git -C $CI_SOURCE_PATH --no-pager diff
135135
git -C $CI_SOURCE_PATH diff-index --quiet HEAD -- .
136136

137-
elif [ $TEST == "clang-tidy" ]; then
137+
elif [ "$TEST" == "clang-tidy" ]; then
138138

139139
setup
140140

0 commit comments

Comments
 (0)