Correction du format du nom des binaires générés par script/dist

This commit is contained in:
wpetit 2018-03-08 11:31:39 +01:00
parent ee8ae288eb
commit e1afb6db7a
1 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
set -e
PROJECT_NAME=packer-opennebula
PROJECT_NAME=packer
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIST_DIR="$DIR/../dist"
@ -42,9 +42,9 @@ export CGO_ENABLED=0
export GO_EXTLINK_ENABLED=0
if [ -z "${GOOS}" ] && [ -z "${GOARCH}" ]; then
FILE_EXT= GOOS=linux GOARCH=amd64 build ./cmd/post-processor/image-template post-processor-image-template
FILE_EXT= GOOS=linux GOARCH=386 build ./cmd/post-processor/image-template post-processor-image-template
FILE_EXT= GOOS=linux GOARCH=arm GOARM=7 build ./cmd/post-processor/image-template post-processor-image-template
FILE_EXT= GOOS=linux GOARCH=amd64 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
FILE_EXT= GOOS=linux GOARCH=386 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
FILE_EXT= GOOS=linux GOARCH=arm GOARM=7 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
else
build ./cmd/server ./cmd/post-processor/image-template post-processor-image-template
build ./cmd/server ./cmd/post-processor/image-template post-processor-opennebula-image-template
fi