Use /build instead of deprecated /build.sh
@@ -84,7 +84,7 @@ function main {
export GOARCH=${TARGET_ARCH}
pushd etcd >/dev/null
- GO_LDFLAGS="-s" ./build
+ GO_LDFLAGS="-s" ./build.sh
popd >/dev/null
TARGET="etcd-${VER}-${GOOS}-${GOARCH}"
