Skip to content

Commit

Permalink
Merge pull request #55 from dfinity/arshavir/fix-apple-silicone-instr…
Browse files Browse the repository at this point in the history
…uctions

Fix `generate_identities_for_neurons_fund_neurons.sh` and improve instructions for Apple Silicon
  • Loading branch information
aterga authored Nov 21, 2023
2 parents bcd1303 + e0cc5e0 commit 91044b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ The `sns-testing` solution is based on Docker; however, there are subtle issues

0. Make sure you have Homebrew installed.
* Instructions: https://brew.sh/
* Use Homebrew to install `coreutils` (needed for tools e.g., `sha256sum`), `jq`, and `yq`:
* Use Homebrew to install (or upgrade to the latest available versions) `bash`, `coreutils` (needed for tools e.g., `sha256sum`), `jq`, and `yq`:
```bash
brew install coreutils jq yq
brew install bash coreutils jq yq
```

You also need rosetta that you can install by running:
Expand Down
2 changes: 1 addition & 1 deletion generate_identities_for_neurons_fund_neurons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ do
# as they are freshly generated (because we need access to their DFX identities to
# be able to read their data and manipulate them, e.g., adding them to the NF after
# the NNS is installed).
sed -i "$((i+1))s/\(^30[0-9][0-9];\)[-a-z0-9]*;/\1${PRINCIPAL};/" "${NEURON_CSV}"
sed -i'' -e "$((i+1))s/\(^30[0-9][0-9];\)[-a-z0-9]*;/\1${PRINCIPAL};/" "${NEURON_CSV}"
echo "Ensured the existence of Neurons' Fund neuron ID ${neuron_id} with identity principal = ${PRINCIPAL}"
fi;
done
Expand Down

0 comments on commit 91044b3

Please sign in to comment.