backends/on-machine: fix OUT_FILE not pointing to OUT_DIR if set
This commit is contained in:
parent
edb187f514
commit
066dbc7388
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ let
|
|||
all_files_missing=true
|
||||
all_files_present=true
|
||||
${lib.concatMapStringsSep "\n" (file: ''
|
||||
if test -e ${lib.escapeShellArg file.path} ; then
|
||||
OUT_FILE="$OUT_DIR"/${if file.secret then "secret" else "public"}/${file.generator}/${file.name}
|
||||
if test -e "$OUT_FILE"; then
|
||||
all_files_missing=false
|
||||
else
|
||||
all_files_present=false
|
||||
|
|
Loading…
Add table
Reference in a new issue