diff --git a/project/make/tgz b/project/make/tgz index 7d0ef09a56..7234218da9 100644 --- a/project/make/tgz +++ b/project/make/tgz @@ -14,7 +14,7 @@ for d in "$CROSS/"*/*; do GOARCH="$(basename "$d")" GOOS="$(basename "$(dirname "$d")")" BINARY_NAME="docker-$VERSION" - BINARY_EXTENSION="$(binary_extension)" + BINARY_EXTENSION="$(export GOOS && binary_extension)" BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION" mkdir -p "$DEST/$GOOS/$GOARCH" TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz"