NO-JIRA Prevent globbing and word splitting (#84)

* Prevent globbing and word splitting

* Revert changes in `entrypoint.sh`
This commit is contained in:
Piotr Idzik 2024-07-12 10:29:30 +02:00 committed by GitHub
commit f4a7a62a43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,5 +10,5 @@ fi
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
chown -R $PERM "${INPUT_PROJECTBASEDIR}/.scannerwork/"
chown -R "$PERM" "${INPUT_PROJECTBASEDIR}/.scannerwork/"