Commit a6462d40 authored by Matt Solomon's avatar Matt Solomon

fix: echo command was not reverted from printf properly

parent 01d58495
...@@ -14,8 +14,8 @@ WS_PORT="${WS_PORT:-8546}" ...@@ -14,8 +14,8 @@ WS_PORT="${WS_PORT:-8546}"
if [ ! -d "$GETH_KEYSTORE_DIR" ]; then if [ ! -d "$GETH_KEYSTORE_DIR" ]; then
echo "$GETH_KEYSTORE_DIR missing, running account import" echo "$GETH_KEYSTORE_DIR missing, running account import"
echo -n "%s" "pwd" > "$GETH_DATA_DIR"/password echo -n "pwd" > "$GETH_DATA_DIR"/password
echo -n "%s" "$BLOCK_SIGNER_PRIVATE_KEY" | sed 's/0x//' > "$GETH_DATA_DIR"/block-signer-key echo -n "$BLOCK_SIGNER_PRIVATE_KEY" | sed 's/0x//' > "$GETH_DATA_DIR"/block-signer-key
geth account import \ geth account import \
--datadir="$GETH_DATA_DIR" \ --datadir="$GETH_DATA_DIR" \
--password="$GETH_DATA_DIR"/password \ --password="$GETH_DATA_DIR"/password \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment