diff options
author | John Cai <jcai@gitlab.com> | 2019-03-29 18:58:53 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-03-29 18:58:53 +0300 |
commit | 071db2de108f6fd3ebcce81e1f8270d8a582dba5 (patch) | |
tree | 8e2123d0cfd3ddd7dc6535ba11e46c2e6e719e24 | |
parent | 6a3aaf9cbc17e56f4dd93dfd3f8a7b1c40ecebab (diff) | |
parent | 7d449b241db52608b9f568376f3e59fe82030d1a (diff) |
Merge branch 'nicer-make-errors' into 'master'
Improve make (go install) errors
See merge request gitlab-org/gitaly!1166
-rw-r--r-- | _support/makegen.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_support/makegen.go b/_support/makegen.go index 71cc2c747..413a98d31 100644 --- a/_support/makegen.go +++ b/_support/makegen.go @@ -267,7 +267,8 @@ all: build .PHONY: build build: ../.ruby-bundle - go install {{ .GoLdFlags }} -tags "$(BUILD_TAGS)" {{ join .CommandPackages " " }} + # go install + @cd {{ .SourceDir }} && go install {{ .GoLdFlags }} -tags "$(BUILD_TAGS)" {{ join .CommandPackages " " }} # This file is used by Omnibus and CNG to skip the "bundle install" # step. Both Omnibus and CNG assume it is in the Gitaly root, not in |