mirror of
https://cgit.krebsco.de/krops
synced 2024-12-23 10:19:52 +01:00
populate: allow directories as sentinel
This commit is contained in:
parent
1921a71a75
commit
42e8085b95
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ let
|
|||
mkdir -vp ${quote (dirOf sentinelFile)} >&2
|
||||
touch ${quote sentinelFile}
|
||||
''}
|
||||
if ! test -f ${quote sentinelFile}; then
|
||||
if ! test -e ${quote sentinelFile}; then
|
||||
>&2 printf 'error: missing sentinel file: %s\n' ${quote (
|
||||
optionalString (!isLocalTarget target) "${target.host}:" +
|
||||
sentinelFile
|
||||
|
|
Loading…
Reference in a new issue