diff --git a/scripts/build.py b/scripts/build.py index 85e1724a5..86813f8bd 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -160,8 +160,7 @@ def go_get(branch, update=False, no_uncommitted=False): logging.error("There are uncommitted changes in the current directory.") return False logging.info("Retrieving dependencies with `dep`...") - run("{}/bin/dep ensure -v -vendor-only".format(os.environ.get("GOPATH", - os.path.expanduser("~/go")))) + run("dep ensure -v -vendor-only") return True def run_tests(race, parallel, timeout, no_vet):