We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0684059 commit 31e25eaCopy full SHA for 31e25ea
mithril-test-lab/mithril-devnet/mkfiles/mkfiles-init.sh
@@ -71,6 +71,7 @@ if [[ "$SKIP_CARDANO_BIN_DOWNLOAD" != "true" ]]; then
71
echo ">> Downloading cardano-cli & cardano-node..."
72
curl -sL "${CARDANO_BINARY_URL}" --output cardano-bin.tar.gz
73
echo ">> Extracting cardano-cli & cardano-node..."
74
+ # First tar when archive has a 'bin' directory, and second tar is to handle legacy archive without 'bin' directory
75
tar xzf cardano-bin.tar.gz -C "${ARTIFACTS_DIR}/" ./bin || (mkdir -p "${ARTIFACTS_DIR}/bin" && tar --strip-components=1 -C "${ARTIFACTS_DIR}/bin" -xzf cardano-bin.tar.gz)
76
rm -f cardano-bin.tar.gz
77
fi
0 commit comments