mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-01-27 15:13:16 +03:00
Prevent globbing and word splitting in cleanup.sh
This commit is contained in:
@@ -10,4 +10,4 @@ echo "Reading permissions from $_tmp_file"
|
||||
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR%/}/$_tmp_file")
|
||||
|
||||
echo "Applying permissions $PERM to all files in the project base directory"
|
||||
chown -R $PERM "${INPUT_PROJECTBASEDIR%/}/"
|
||||
chown -R "$PERM" "${INPUT_PROJECTBASEDIR%/}/"
|
||||
|
||||
Reference in New Issue
Block a user