From 759e8af34bb502a1ba7da92d31767bb9b8013a93 Mon Sep 17 00:00:00 2001 From: Jess Breckenridge Date: Tue, 2 May 2017 15:34:03 -0600 Subject: [PATCH] - Adding env to build file --- script/build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/build b/script/build index 24be5d1..5d90e5d 100755 --- a/script/build +++ b/script/build @@ -1,7 +1,7 @@ #!/bin/bash set -e - +. script/env . script/bootstrap mkdir -p bin @@ -13,7 +13,6 @@ scriptdir="$PWD"/script version=$(git rev-parse HEAD) describe=$(git describe --tags --always --dirty) -export GOPATH="$PWD/.gopath" cd .gopath/src/github.com/github/gh-ost # We put the binaries directly into the bindir, because we have no need for shim wrappers