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



./stop.sh ./stop.sh


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

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



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


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

+ 1
- 1
travis.sh View File

-Dsonar.projectKey=org.sonarsource.sonarqube:sonarqube \ -Dsonar.projectKey=org.sonarsource.sonarqube:sonarqube \
-Dsonar.organization=sonarsource \ -Dsonar.organization=sonarsource \
-Dsonar.host.url=https://sonarcloud.io \ -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=$SONAR_TOKEN
-Dsonar.login="$SONAR_TOKEN"
;; ;;


WEB_TESTS) WEB_TESTS)

Loading…
Cancel
Save