1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #10057 from tianon/fix-tgz

Fix tgz for Windows binaries
This commit is contained in:
Tianon Gravi 2015-01-12 20:28:04 -07:00
commit 5d59fdcd38

View file

@ -14,7 +14,7 @@ for d in "$CROSS/"*/*; do
GOARCH="$(basename "$d")" GOARCH="$(basename "$d")"
GOOS="$(basename "$(dirname "$d")")" GOOS="$(basename "$(dirname "$d")")"
BINARY_NAME="docker-$VERSION" BINARY_NAME="docker-$VERSION"
BINARY_EXTENSION="$(binary_extension)" BINARY_EXTENSION="$(export GOOS && binary_extension)"
BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION" BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
mkdir -p "$DEST/$GOOS/$GOARCH" mkdir -p "$DEST/$GOOS/$GOARCH"
TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz" TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz"