fixed warning in Makefile
This commit is contained in:
parent
cc3f492e62
commit
fb7d255b8b
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:
|
||||||
|
|
Loading…
Reference in New Issue