Prevent globbing and word splitting

This commit is contained in:
vil02 2024-07-07 21:59:03 +02:00
commit bdec21efd9
2 changed files with 2 additions and 2 deletions

View file

@ -10,5 +10,5 @@ fi
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
chown -R $PERM "${INPUT_PROJECTBASEDIR}/.scannerwork/"
chown -R "$PERM" "${INPUT_PROJECTBASEDIR}/.scannerwork/"

View file

@ -27,4 +27,4 @@ if [[ "$RUNNER_DEBUG" == '1' ]]; then
fi
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}"