fix
This commit is contained in:
@@ -36,9 +36,9 @@ env
|
|||||||
apk add curl jq
|
apk add curl jq
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
|
||||||
curl -sL "$GENESIS_URL" -o "$CONFIG_DIR/genesis.json"
|
|
||||||
|
|
||||||
if seid init ${MONIKER} --chain-id ${CHAIN_SPEC} --home $HOME_DIR/; then
|
if seid init ${MONIKER} --chain-id ${CHAIN_SPEC} --home $HOME_DIR/; then
|
||||||
|
# replace the genesis with the one from the url
|
||||||
|
curl -sL "$GENESIS_URL" -o "$CONFIG_DIR/genesis.json"
|
||||||
|
|
||||||
# somehow it's better to make home static to /root
|
# somehow it's better to make home static to /root
|
||||||
sed -i 's|~/|/root/|g' "$CONFIG_DIR/config.toml"
|
sed -i 's|~/|/root/|g' "$CONFIG_DIR/config.toml"
|
||||||
|
|||||||
Reference in New Issue
Block a user