Skip to content

Commit 193833b

Browse files
committed
fix(make): correctly infer ipns name from record filename
1 parent 4760ba7 commit 193833b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provision-cargateway: ./fixtures.car
2727

2828
provision-kubo:
2929
find ./fixtures -name '*.car' -exec ipfs dag import --stats --pin-roots=false {} \;
30-
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}") "{}"' \;
30+
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}" | cut -d'_' -f1) "{}"' \;
3131

3232
# tools
3333
fixtures.car: gateway-conformance

0 commit comments

Comments
 (0)