From dd09c513f7c050c1c55b742e4dd41777982bfdc7 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 6 Feb 2023 11:10:24 -0500 Subject: [PATCH] only cross-build the ziti CLI artifact; fix inverted conditional for background jobs --- docker-images/cross-build/linux-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-images/cross-build/linux-build.sh b/docker-images/cross-build/linux-build.sh index 4d51bdfa7..bc88e4916 100755 --- a/docker-images/cross-build/linux-build.sh +++ b/docker-images/cross-build/linux-build.sh @@ -39,7 +39,7 @@ for ARCH in ${JOBS[@]}; do -arch=${ARCH} \ -output=${GOX_OUTPUT} \ -parallel=${PROCS_PER_JOB} \ - ./... + ./ziti/ " case ${ARCH} in amd64) eval ${GOX_CMD} ${BACKGROUND} @@ -58,7 +58,7 @@ case ${ARCH} in done # if not background in parallel then exit now with well earned success -[[ -z "${BACKGROUND:-}" ]] || exit 0 +[[ -z "${BACKGROUND:-}" ]] && exit 0 # Wait for builds in the background and exit with an error if any fail EXIT=0