This commit is contained in:
Derek May 2018-03-13 15:13:34 -07:00
parent 31baeabe26
commit 9ca737c72c

View file

@ -10,11 +10,11 @@ fi
# Create fake Go workspace if it doesn't exist yet. # Create fake Go workspace if it doesn't exist yet.
workspace="$PWD/build/_workspace" workspace="$PWD/build/_workspace"
root="$PWD" root="$PWD"
ethdir="$workspace/src/github.com/ethereum" ethdir="$workspace/src/github.com/TeamEGEM"
if [ ! -L "$ethdir/go-ethereum" ]; then if [ ! -L "$ethdir/go-egem" ]; then
mkdir -p "$ethdir" mkdir -p "$ethdir"
cd "$ethdir" cd "$ethdir"
ln -s ../../../../../. go-ethereum ln -s ../../../../../. go-egem
cd "$root" cd "$root"
fi fi
@ -23,8 +23,8 @@ GOPATH="$workspace"
export GOPATH export GOPATH
# Run the command inside the workspace. # Run the command inside the workspace.
cd "$ethdir/go-ethereum" cd "$ethdir/go-egem"
PWD="$ethdir/go-ethereum" PWD="$ethdir/go-egem"
# Launch the arguments with the configured environment. # Launch the arguments with the configured environment.
exec "$@" exec "$@"