aboutsummaryrefslogtreecommitdiffstats
path: root/build/env.sh
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-29 19:43:38 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-29 19:43:38 +0800
commitbac4440e1751fd3b71f8271260d1c8af236d2cec (patch)
tree7244f37c5c6120ecfb2afd996495bbb4a4810d7e /build/env.sh
parent32373e3837c5fc3def8050d6de8be34946a3fd75 (diff)
parentaa03e53ca8d55e74e562f5f56d90e4fd2579fb4e (diff)
downloadgo-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar.gz
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar.bz2
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar.lz
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar.xz
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.tar.zst
go-tangerine-bac4440e1751fd3b71f8271260d1c8af236d2cec.zip
Merge pull request #822 from fjl/makefile-improvements
Makefile improvements
Diffstat (limited to 'build/env.sh')
-rwxr-xr-xbuild/env.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/env.sh b/build/env.sh
index b28ad6259..04401a3e1 100755
--- a/build/env.sh
+++ b/build/env.sh
@@ -24,5 +24,9 @@ GOPATH="$ethdir/go-ethereum/Godeps/_workspace:$workspace"
GOBIN="$PWD/build/bin"
export GOPATH GOBIN
+# Run the command inside the workspace.
+cd "$ethdir/go-ethereum"
+PWD="$ethdir/go-ethereum"
+
# Launch the arguments with the configured environment.
-exec $@
+exec "$@"