Fix build

This commit is contained in:
Julian Yap 2016-11-18 23:36:55 -10:00
parent 1586b666f2
commit 1b1e2397c3

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/ubiq"
if [ ! -L "$ethdir/go-ethereum" ]; then if [ ! -L "$ethdir/go-ubiq" ]; then
mkdir -p "$ethdir" mkdir -p "$ethdir"
cd "$ethdir" cd "$ethdir"
ln -s ../../../../../. go-ethereum ln -s ../../../../../. go-ubiq
cd "$root" cd "$root"
fi fi
@ -24,8 +24,8 @@ GO15VENDOREXPERIMENT=1
export GOPATH GO15VENDOREXPERIMENT export GOPATH GO15VENDOREXPERIMENT
# Run the command inside the workspace. # Run the command inside the workspace.
cd "$ethdir/go-ethereum" cd "$ethdir/go-ubiq"
PWD="$ethdir/go-ethereum" PWD="$ethdir/go-ubiq"
# Launch the arguments with the configured environment. # Launch the arguments with the configured environment.
exec "$@" exec "$@"