From 8c8682dac7c144ee82da08feadfd0b169522397e Mon Sep 17 00:00:00 2001 From: vil02 Date: Fri, 12 Jul 2024 21:24:55 +0200 Subject: [PATCH] Prevent globbing and word splitting in `cleanup.sh` --- cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanup.sh b/cleanup.sh index f1d32a4..bdc3316 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -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%/}/" \ No newline at end of file +chown -R "$PERM" "${INPUT_PROJECTBASEDIR%/}/"