From 376cd5897e542a552b5338beed5865e3a8b99c82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 19 Jun 2024 16:00:39 +0200 Subject: [PATCH] build: adapt workspace member command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to work with cargo 1.77, which changed from pbs-api-types 0.1.0 (path+file:///home/fgruenbichler/Sources/proxmox-backup/pbs-api-types) to path+file:///home/fgruenbichler/Sources/proxmox-backup/pbs-api-types#0.1.0 Signed-off-by: Fabian Grünbichler --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03e93876..49575ea4 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,8 @@ RESTORE_BIN := \ SUBCRATES != cargo metadata --no-deps --format-version=1 \ | jq -r .workspace_members'[]' \ - | awk '!/^proxmox-backup[[:space:]]/ { printf "%s ", $$1 }' + | grep 'proxmox-backup/' \ + | sed -e 's!.*proxmox-backup/!!g' -e 's/\#.*$$//g' -e 's/)$$//g' ifeq ($(BUILD_MODE), release) CARGO_BUILD_ARGS += --release -- 2.39.5