Skip to content

Commit 99dca50

Browse files
committed
fix: support new Cardano binary archive folder structure in devnet
The binaries are produced in 'bin' folder from '8.9.0' when they used to be at root of archive.
1 parent 2832f32 commit 99dca50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-test-lab/mithril-devnet/mkfiles/mkfiles-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fi
6969
if [[ "$SKIP_CARDANO_BIN_DOWNLOAD" != "true" ]]; then
7070
echo ">> Downloading cardano-cli & cardano-node..."
7171
curl -sL ${CARDANO_BINARY_URL} --output cardano-bin.tar.gz
72-
tar xzf cardano-bin.tar.gz ./cardano-cli ./cardano-node
72+
tar xzf cardano-bin.tar.gz ./bin/cardano-cli ./bin/cardano-node && mv ./bin/cardano-{cli,node} . && rm -rf ./bin || tar xzf cardano-bin.tar.gz ./cardano-cli ./cardano-node
7373
rm -f cardano-bin.tar.gz
7474
fi
7575

0 commit comments

Comments
 (0)