Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-03-29 18:58:53 +0300
committerJohn Cai <jcai@gitlab.com>2019-03-29 18:58:53 +0300
commit7d449b241db52608b9f568376f3e59fe82030d1a (patch)
tree8e2123d0cfd3ddd7dc6535ba11e46c2e6e719e24
parent6a3aaf9cbc17e56f4dd93dfd3f8a7b1c40ecebab (diff)
Improve make (go install) errors
-rw-r--r--_support/makegen.go3
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