change bin target to use variable for cmd path

This commit is contained in:
Ryan Huber 2019-11-23 15:33:02 +00:00 committed by Slack Security Team
parent 00d6973e27
commit 3fe99aa065
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ all:
make NEBULA_CMD_PATH=${NEBULA_CMD_PATH} bin-windows
bin:
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ./cmd/nebula
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula ${NEBULA_CMD_PATH}
go build -ldflags "-X main.Build=$(BUILD_NUMBER)" -o ./nebula-cert ./cmd/nebula-cert
install: