File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ PACKAGE_DIR := $(CURDIR)/packaging
4949PREFIX := /usr
5050INSTALL_BINDIR := $(PREFIX ) /bin/
5151INSTALL_MANDIR := $(PREFIX ) /share/man/man1/
52+ CF_GO_PATH := /tmp/go
53+ PATH := $(CF_GO_PATH ) /bin:$(PATH )
5254
5355LOCAL_ARCH ?= $(shell uname -m)
5456ifneq ($(GOARCH ) ,)
@@ -166,12 +168,12 @@ test-ssh-server:
166168
167169.PHONY : install-go
168170install-go :
171+ rm -rf ${CF_GO_PATH}
169172 ./.teamcity/install-cloudflare-go.sh
170- export PATH=" tmp/go/bin:${PATH} "
171173
172174.PHONY : cleanup-go
173175cleanup-go :
174- rm -rf /tmp/go
176+ rm -rf ${CF_GO_PATH}
175177
176178cloudflared.1 : cloudflared_man_template
177179 sed -e ' s/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' cloudflared_man_template > cloudflared.1
You can’t perform that action at this time.
0 commit comments