Skip to content

Commit

Permalink
Prevent globbing and word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Jul 7, 2024
1 parent e44258b commit bdec21e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit bdec21e

Please sign in to comment.