Skip to content

Commit 8c8682d

Browse files
vil02claire-villard-sonarsource
authored andcommitted
Prevent globbing and word splitting in cleanup.sh
1 parent bfafdf2 commit 8c8682d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ echo "Reading permissions from $_tmp_file"
1010
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR%/}/$_tmp_file")
1111

1212
echo "Applying permissions $PERM to all files in the project base directory"
13-
chown -R $PERM "${INPUT_PROJECTBASEDIR%/}/"
13+
chown -R "$PERM" "${INPUT_PROJECTBASEDIR%/}/"

0 commit comments

Comments
 (0)