From 525bf476188194789ef1a677d0bc42ca4b96fb39 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Thu, 10 Feb 2022 12:07:15 +0100 Subject: [PATCH] chore(buildx.sh): set bash -x option after help message --- scripts/buildx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/buildx.sh b/scripts/buildx.sh index ad4ecf166..049dff971 100755 --- a/scripts/buildx.sh +++ b/scripts/buildx.sh @@ -11,7 +11,6 @@ ## ./scripts/buildx.sh --profile emqx --pkgtype tgz --arch arm64 --builder ghcr.io/emqx/emqx-builder/4.4-4:24.1.5-3-debian10 set -euo pipefail -set -x help() { echo @@ -91,6 +90,8 @@ if [ -z "${PROFILE:-}" ] || exit 1 fi +set -x + if [ -z "${WITH_ELIXIR:-}" ]; then WITH_ELIXIR=no fi