Browse Source

Double-quote variables used in command arguments in Bash

tags/7.8
Janos Gyerik 5 years ago
parent
commit
abdf8f466d
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      build.sh
  2. 1
    1
      sonar-ws-generator/run.sh
  3. 1
    1
      travis.sh

+ 1
- 1
build.sh View File

@@ -2,4 +2,4 @@

./stop.sh

./gradlew build $*
./gradlew build "$@"

+ 1
- 1
sonar-ws-generator/run.sh View File

@@ -3,7 +3,7 @@ set -euo pipefail

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

pushd $SCRIPTPATH/..
pushd "$SCRIPTPATH"/..
pwd
./gradlew :sonar-ws-generator:build :sonar-ws-generator:fatJar
popd

+ 1
- 1
travis.sh View File

@@ -41,7 +41,7 @@ BUILD)
-Dsonar.projectKey=org.sonarsource.sonarqube:sonarqube \
-Dsonar.organization=sonarsource \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=$SONAR_TOKEN
-Dsonar.login="$SONAR_TOKEN"
;;

WEB_TESTS)

Loading…
Cancel
Save