From ea77642fe43c87b110f225b2d0b439d85d848658 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 14 Oct 2020 12:40:57 +0200 Subject: Adapt to the removal of the top-level Sequoia crate. - Fixes 52ee6a8fa2d326ba93fd4cbcf134a231bc438d95. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3ea4b6e8..826a92c5 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ CARGO_PACKAGES ?= --all # Additional arguments to pass to cargo test, e.g., "--doc". CARGO_TEST_ARGS ?= # Version as stated in the top-level Cargo.toml. -VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' Cargo.toml\ +VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' openpgp/Cargo.toml\ | cut -d'"' -f2) # Signing source distributions. @@ -158,7 +158,7 @@ clean: sanity-check-versions: set -e ; V=$(VERSION) ; VV=$(shell echo $(VERSION) | cut -d. -f1-2) ;\ bad() { echo "bad $$*." ; exit 1 ; } ;\ - find . -name Cargo.toml | while read TOML ; do \ + for TOML in */Cargo.toml ; do \ echo -n "$$TOML " ;\ grep '^version *=' $$TOML | grep -q $$V || bad version ;\ grep '^documentation *=' $$TOML \ -- cgit v1.2.3