diff --git a/Makefile b/Makefile index bf76baa..fee68a0 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ age-unseal: # If there are no diffs, just restore the agebox file from the index and delete the unaltered local unencrypted file # If there are changes re-encrypt age-seal: - @set -x;for f in $$(yq eval .file_ids[] .ageboxreg.yml); do \ + @for f in $$(yq eval .file_ids[] .ageboxreg.yml); do \ [ -f $$f ] || continue; \ git restore $${f}.agebox; agebox cat $$f.agebox | diff - $$f && \ rm -f $$f || ( rm -f $$f.agebox; agebox encrypt $$f --public-keys .agekeys; ); done