From 8fba61e212294a1164e2ad43767be1be433a9461 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 11 Jan 2015 18:45:29 -0500 Subject: [PATCH] Fix `go build` command --- deb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb.mk b/deb.mk index 279944d6a..13357eef6 100644 --- a/deb.mk +++ b/deb.mk @@ -134,7 +134,7 @@ deb-pluginhook: deb-setup mkdir -p /tmp/build/usr/local/bin $(GOPATH) sudo apt-get install -qq -y git golang mercurial 2>&1 > /dev/null export PATH=$(PATH):$(GOROOT)/bin:$(GOPATH)/bin && export GOROOT=$(GOROOT) && export GOPATH=$(GOPATH) && go get "code.google.com/p/go.crypto/ssh/terminal" - export PATH=$(PATH):$(GOROOT)/bin:$(GOPATH)/bin && export GOROOT=$(GOROOT) && export GOPATH=$(GOPATH) && cd /tmp/tmp/pluginhook && go /tmp/build -o pluginhook + export PATH=$(PATH):$(GOROOT)/bin:$(GOPATH)/bin && export GOROOT=$(GOROOT) && export GOPATH=$(GOPATH) && cd /tmp/tmp/pluginhook && go build -o pluginhook mv /tmp/tmp/pluginhook/pluginhook /tmp/build/usr/local/bin/pluginhook echo "-> Creating $(PLUGINHOOK_PACKAGE_NAME)"