mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
typo: convert tab to space (#10918)
* typo: convert tab to space Signed-off-by: Delweng <delweng@gmail.com> * typo: indent shell scripts with 4spaces Signed-off-by: Delweng <delweng@gmail.com> * fix the indent typo again Signed-off-by: Delweng <delweng@gmail.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
This commit is contained in:
parent
5291b9d85b
commit
13001cd000
11
prysm.sh
11
prysm.sh
@ -76,13 +76,12 @@ fi
|
||||
readonly wrapper_dir="$(dirname "$(get_realpath "${BASH_SOURCE[0]}")")/dist"
|
||||
|
||||
# for Apple M1s
|
||||
if [ "$(uname -s)" == "Darwin" ] && [ "$(uname -m)" == "arm64" ]
|
||||
then
|
||||
arch="amd64"
|
||||
if [ "$(uname -s)" == "Darwin" ] && [ "$(uname -m)" == "arm64" ]; then
|
||||
arch="amd64"
|
||||
else
|
||||
arch=$(uname -m)
|
||||
arch=${arch/x86_64/amd64}
|
||||
arch=${arch/aarch64/arm64}
|
||||
arch=$(uname -m)
|
||||
arch=${arch/x86_64/amd64}
|
||||
arch=${arch/aarch64/arm64}
|
||||
fi
|
||||
readonly os_arch_suffix="$(uname -s | tr '[:upper:]' '[:lower:]')-$arch"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user