mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +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 ''
|
text = if (cfg.configFile != null) then ''
|
||||||
cp ${cfg.configFile} ${configPath}
|
cp ${cfg.configFile} ${configPath}
|
||||||
# make config file readable by service
|
# make config file readable by service
|
||||||
chown -R --reference=$HOME $(dirname ${configPath})
|
chown -R --reference="$HOME" "$(dirname ${configPath})"
|
||||||
'' else ''
|
'' else ''
|
||||||
export CONFIG_FILE=${configPath}
|
export CONFIG_FILE=${configPath}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user