fixed warning in Makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@ VERSION := $(shell sh -c 'git describe --always --tags')
|
|||||||
|
|
||||||
build: prepare
|
build: prepare
|
||||||
$(GOPATH)/bin/godep go build -o telegraf -ldflags \
|
$(GOPATH)/bin/godep go build -o telegraf -ldflags \
|
||||||
"-X main.Version $(VERSION)" \
|
"-X main.Version=$(VERSION)" \
|
||||||
./cmd/telegraf/telegraf.go
|
./cmd/telegraf/telegraf.go
|
||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
|
|||||||
Reference in New Issue
Block a user