nixos/gitlab-runner: fix shell syntax preventing build
The build fails when configFile is provided because of shellcheck detects missing quotes here.
This commit is contained in:
parent
3ea51a72e4
commit
116872aedd
@ -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