aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 4e84696b946..e12de64028e 100755
--- a/travis.sh
+++ b/travis.sh
@@ -95,7 +95,7 @@ function fixBuildVersion {
export BUILD_VERSION="$without_suffix.$TRAVIS_BUILD_NUMBER"
fi
- if [ "${INITIAL_VERSION}" == *"-SNAPSHOT" ]; then
+ if [[ "${INITIAL_VERSION}" == *"-SNAPSHOT" ]]; then
# SNAPSHOT
export PROJECT_VERSION=$BUILD_VERSION
mvn org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=$PROJECT_VERSION -DgenerateBackupPoms=false -B -e