Commit 4e996386 authored by Andrey Petrov's avatar Andrey Petrov Committed by norswap

Update shell shebang to be more portable.

parent 83f6e52f
#!/bin/bash #!/usr/bin/env bash
if [[ ! -d unicorn2 ]]; then if [[ ! -d unicorn2 ]]; then
git clone https://github.com/geohot/unicorn.git -b dev unicorn2 git clone https://github.com/geohot/unicorn.git -b dev unicorn2
#git clone https://github.com/unicorn-engine/unicorn.git -b dev unicorn2 #git clone https://github.com/unicorn-engine/unicorn.git -b dev unicorn2
......
#!/bin/bash #!/usr/bin/env bash
# --- DOC ---------------------------------------------------------------------- # --- DOC ----------------------------------------------------------------------
......
#!/bin/bash #!/usr/bin/env bash
# --- DOC ---------------------------------------------------------------------- # --- DOC ----------------------------------------------------------------------
......
#!/bin/bash #!/usr/bin/env bash
# This runs a hardhat node forked from mainnet at the specified block. # This runs a hardhat node forked from mainnet at the specified block.
# You need to run this in a separate terminal (or in the background) # You need to run this in a separate terminal (or in the background)
......
#!/bin/bash -e #!/usr/bin/env bash
set -e
cd ../minigeth cd ../minigeth
export GOOS=linux export GOOS=linux
export GOARCH=mips export GOARCH=mips
......
#!/bin/bash -e #!/usr/bin/env bash
set -e
../../mipsevm/maketests.py startup.s startup.bin ../../mipsevm/maketests.py startup.s startup.bin
#!/bin/bash -e #!/usr/bin/env bash
set -e
export GOOS=linux export GOOS=linux
export GOARCH=mips export GOARCH=mips
export GOMIPS=softfloat export GOMIPS=softfloat
......
#!/bin/bash -e #!/usr/bin/env bash
set -e
(cd ../ && npx hardhat compile) (cd ../ && npx hardhat compile)
(cd ../mipigo && ./build.sh) (cd ../mipigo && ./build.sh)
go build go build
......
#!/bin/bash -e #!/usr/bin/env bash
set -e
(cd minigeth/ && go build) (cd minigeth/ && go build)
mkdir -p /tmp/cannon mkdir -p /tmp/cannon
......
#!/bin/bash #!/usr/bin/env bash
FILES=$(grep -v "#" files_minigeth) FILES=$(grep -v "#" files_minigeth)
MINIGETH=$PWD/minigeth MINIGETH=$PWD/minigeth
git clone https://github.com/ethereum/go-ethereum.git git clone https://github.com/ethereum/go-ethereum.git
......
#!/bin/bash -e #!/usr/bin/env bash
set -e
(cd minigeth/ && go build) (cd minigeth/ && go build)
mkdir -p /tmp/cannon mkdir -p /tmp/cannon
......
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