Fix build script
This commit is contained in:
parent
4556eda901
commit
028a0b0d20
1 changed files with 2 additions and 2 deletions
|
@ -51,5 +51,5 @@ echo "This information is useful for debugging and license compliance."
|
|||
echo "Run the compiled binary with the version command to see the information included."
|
||||
|
||||
# build
|
||||
BUILD_PATH="github.com/safing/jess/vendor/github.com/safing/portbase/info"
|
||||
go build -ldflags "-X ${BUILD_PATH}.commit=${BUILD_COMMIT} -X ${BUILD_PATH}.buildOptions=${BUILD_BUILDOPTIONS} -X ${BUILD_PATH}.buildUser=${BUILD_USER} -X ${BUILD_PATH}.buildHost=${BUILD_HOST} -X ${BUILD_PATH}.buildDate=${BUILD_DATE} -X ${BUILD_PATH}.buildSource=${BUILD_SOURCE}" $@
|
||||
BUILD_PATH="github.com/safing/portbase/info"
|
||||
go build -ldflags "-X ${BUILD_PATH}.commit=${BUILD_COMMIT} -X ${BUILD_PATH}.buildOptions=${BUILD_BUILDOPTIONS} -X ${BUILD_PATH}.buildUser=${BUILD_USER} -X ${BUILD_PATH}.buildHost=${BUILD_HOST} -X ${BUILD_PATH}.buildDate=${BUILD_DATE} -X ${BUILD_PATH}.buildSource=${BUILD_SOURCE}" "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue