mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
egem
This commit is contained in:
parent
31baeabe26
commit
9ca737c72c
1 changed files with 5 additions and 5 deletions
10
build/env.sh
10
build/env.sh
|
|
@ -10,11 +10,11 @@ fi
|
|||
# Create fake Go workspace if it doesn't exist yet.
|
||||
workspace="$PWD/build/_workspace"
|
||||
root="$PWD"
|
||||
ethdir="$workspace/src/github.com/ethereum"
|
||||
if [ ! -L "$ethdir/go-ethereum" ]; then
|
||||
ethdir="$workspace/src/github.com/TeamEGEM"
|
||||
if [ ! -L "$ethdir/go-egem" ]; then
|
||||
mkdir -p "$ethdir"
|
||||
cd "$ethdir"
|
||||
ln -s ../../../../../. go-ethereum
|
||||
ln -s ../../../../../. go-egem
|
||||
cd "$root"
|
||||
fi
|
||||
|
||||
|
|
@ -23,8 +23,8 @@ GOPATH="$workspace"
|
|||
export GOPATH
|
||||
|
||||
# Run the command inside the workspace.
|
||||
cd "$ethdir/go-ethereum"
|
||||
PWD="$ethdir/go-ethereum"
|
||||
cd "$ethdir/go-egem"
|
||||
PWD="$ethdir/go-egem"
|
||||
|
||||
# Launch the arguments with the configured environment.
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue