From 221db019cb6a2ddafac90e8f311de7cee9739f9c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 11 Dec 2023 10:44:52 +0100 Subject: [PATCH] fix(make): correctly infer ipns name from record filename --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2c2b1efc5..4654f491c 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ provision-cargateway: ./fixtures.car provision-kubo: find ./fixtures -name '*.car' -exec ipfs dag import --stats --pin-roots=false {} \; - find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}") "{}"' \; + find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}" | cut -d'_' -f1) "{}"' \; # tools fixtures.car: gateway-conformance