mirror of
https://cgit.krebsco.de/krops/
synced 2025-08-24 11:06:24 +00:00
populate: allow directories as sentinel
This commit is contained in:
parent
1921a71a75
commit
42e8085b95
@ -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…
x
Reference in New Issue
Block a user