Merge pull request #216159 from Cynerd/gitlab-runner-bash-quote

This commit is contained in:
Sandro 2023-02-18 19:54:37 +01:00 committed by GitHub
commit 6c611e8ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ let
text = if (cfg.configFile != null) then ''
cp ${cfg.configFile} ${configPath}
# make config file readable by service
chown -R --reference=$HOME $(dirname ${configPath})
chown -R --reference="$HOME" "$(dirname ${configPath})"
'' else ''
export CONFIG_FILE=${configPath}