mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
Fix build
This commit is contained in:
parent
1586b666f2
commit
1b1e2397c3
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/ubiq"
|
||||
if [ ! -L "$ethdir/go-ubiq" ]; then
|
||||
mkdir -p "$ethdir"
|
||||
cd "$ethdir"
|
||||
ln -s ../../../../../. go-ethereum
|
||||
ln -s ../../../../../. go-ubiq
|
||||
cd "$root"
|
||||
fi
|
||||
|
||||
|
|
@ -24,8 +24,8 @@ GO15VENDOREXPERIMENT=1
|
|||
export GOPATH GO15VENDOREXPERIMENT
|
||||
|
||||
# Run the command inside the workspace.
|
||||
cd "$ethdir/go-ethereum"
|
||||
PWD="$ethdir/go-ethereum"
|
||||
cd "$ethdir/go-ubiq"
|
||||
PWD="$ethdir/go-ubiq"
|
||||
|
||||
# Launch the arguments with the configured environment.
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue