Prevent globbing and word splitting in cleanup.sh

This commit is contained in:
vil02 2024-07-12 21:24:55 +02:00 committed by Claire Villard
parent bfafdf2896
commit 8c8682dac7

View file

@ -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%/}/"