mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #216159 from Cynerd/gitlab-runner-bash-quote
This commit is contained in:
commit
6c611e8ff0
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user