From d8c424b00fe759dcb87930e94b6cffb46e135cb2 Mon Sep 17 00:00:00 2001 From: aidan46 Date: Tue, 14 Jan 2025 20:33:50 +0800 Subject: [PATCH] fix: Use single quotes for toml config --- examples/rpc_publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rpc_publish.sh b/examples/rpc_publish.sh index 396382cfd..415c65afd 100755 --- a/examples/rpc_publish.sh +++ b/examples/rpc_publish.sh @@ -34,8 +34,8 @@ PIECE_CID="$(echo "$INPUT_COMMP" | jq -r ".cid")" PIECE_SIZE="$(echo "$INPUT_COMMP" | jq ".size")" PEER_ID="$(target/release/polka-storage-provider-client generate-peer-id --pubkey "$P2P_PUBLIC_KEY")" P2P_CONFIG="/tmp/bootstrap.toml" -echo "address = \"$P2P_ADDRESS\" -keypair = \"@$P2P_PRIVATE_KEY\" +echo "address = '$P2P_ADDRESS' +keypair = '@$P2P_PRIVATE_KEY' " > "$P2P_CONFIG"