Skip to content

Commit

Permalink
Prevent globbing and word splitting in cleanup.sh
Browse files Browse the repository at this point in the history
vil02 authored and claire-villard-sonarsource committed Jul 18, 2024
1 parent bfafdf2 commit 8c8682d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleanup.sh
Original file line number Diff line number Diff line change
@@ -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%/}/"

0 comments on commit 8c8682d

Please sign in to comment.