- Adding env to build file

This commit is contained in:
Jess Breckenridge 2017-05-02 15:34:03 -06:00
parent d609d89f78
commit 759e8af34b

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
. script/env
. script/bootstrap . script/bootstrap
mkdir -p bin mkdir -p bin
@ -13,7 +13,6 @@ scriptdir="$PWD"/script
version=$(git rev-parse HEAD) version=$(git rev-parse HEAD)
describe=$(git describe --tags --always --dirty) describe=$(git describe --tags --always --dirty)
export GOPATH="$PWD/.gopath"
cd .gopath/src/github.com/github/gh-ost cd .gopath/src/github.com/github/gh-ost
# We put the binaries directly into the bindir, because we have no need for shim wrappers # We put the binaries directly into the bindir, because we have no need for shim wrappers