From cada199355db0ebecab2736c3fed299f6c91ad2f Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 2 Oct 2019 10:48:33 +0200 Subject: openpgp-ffi: Fix check-headers to not depend on git. - Fixes #342. --- openpgp-ffi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpgp-ffi') diff --git a/openpgp-ffi/Makefile b/openpgp-ffi/Makefile index ea4e013d..b25143d6 100644 --- a/openpgp-ffi/Makefile +++ b/openpgp-ffi/Makefile @@ -60,7 +60,7 @@ check-headers: force-build $(CARGO_TARGET_DIR)/debug/libsequoia_openpgp_ffi.$(_SEQ_LIB_EXT) \ | cut -d' ' -f3 | sed s/^_// | sort -u | grep pgp_ \ | while read SYM ; \ - do git grep -q "$$SYM" include || echo $$SYM ; \ + do grep -r -q "$$SYM" include || echo $$SYM ; \ done | tee $(CARGO_TARGET_DIR)/debug/.check-headers ; \ ! test -s $(CARGO_TARGET_DIR)/debug/.check-headers -- cgit v1.2.3