1
0
Fork 0
mirror of https://github.com/Luzifer/archrepo.git synced 2024-12-30 01:41:23 +00:00

Fix cleanup_files target

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-20 21:28:56 +02:00
parent c15c80b132
commit b371b7af3a
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -51,7 +51,7 @@ check_tools:
@which vault2env @which vault2env
cleanup_files: cleanup_files:
rm -f *.old* rm -f $(REPO_DIR)/*.old*
cleanup_orphan_signatures: cleanup_orphan_signatures:
bash -euo pipefail -c 'for i in $(REPO_DIR)/*.sig; do [[ -f $${i//.sig} ]] || rm $${i}; done' bash -euo pipefail -c 'for i in $(REPO_DIR)/*.sig; do [[ -f $${i//.sig} ]] || rm $${i}; done'