mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-03 17:24:28 +00:00
build: run build commands from the fake workspace root
This ensures that compiler error messages contain the correct path.
This commit is contained in:
parent
a6a49ccbf7
commit
12df8565cf
@ -24,5 +24,9 @@ GOPATH="$ethdir/go-ethereum/Godeps/_workspace:$workspace"
|
|||||||
GOBIN="$PWD/build/bin"
|
GOBIN="$PWD/build/bin"
|
||||||
export GOPATH GOBIN
|
export GOPATH GOBIN
|
||||||
|
|
||||||
|
# Run the command inside the workspace.
|
||||||
|
cd "$ethdir/go-ethereum"
|
||||||
|
PWD="$ethdir/go-ethereum"
|
||||||
|
|
||||||
# Launch the arguments with the configured environment.
|
# Launch the arguments with the configured environment.
|
||||||
exec $@
|
exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user