mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
storebytecode.sh: Allow specifying a custom REPO_ROOT
This commit is contained in:
parent
59d4fdba75
commit
582271ed18
@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
REPO_ROOT="$(dirname "$0")"/../..
|
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
|
||||||
|
REPO_ROOT="${REPO_ROOT:-${SCRIPT_DIR}/../..}"
|
||||||
cd "$REPO_ROOT"
|
cd "$REPO_ROOT"
|
||||||
REPO_ROOT=$(pwd) # make it absolute
|
REPO_ROOT=$(pwd) # make it absolute
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user