mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-07 18:17:12 +00:00
Prevent globbing and word splitting
This commit is contained in:
parent
e44258b109
commit
bdec21efd9
2 changed files with 2 additions and 2 deletions
|
|
@ -10,5 +10,5 @@ fi
|
||||||
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
|
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
|
||||||
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
|
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
|
||||||
|
|
||||||
chown -R $PERM "${INPUT_PROJECTBASEDIR}/.scannerwork/"
|
chown -R "$PERM" "${INPUT_PROJECTBASEDIR}/.scannerwork/"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,4 @@ if [[ "$RUNNER_DEBUG" == '1' ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset JAVA_HOME
|
unset JAVA_HOME
|
||||||
sonar-scanner $debug_flag -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}
|
sonar-scanner "$debug_flag" -Dsonar.projectBaseDir="${INPUT_PROJECTBASEDIR}" -Dsonar.host.url="${SONARCLOUD_URL}" "${INPUT_ARGS}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue