install: Use set -x when installing node, shellcheck, shfmt, tx.

This makes it clearer which step failed if there’s an error.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-05-10 11:32:00 -07:00 committed by Tim Abbott
parent 2b93b2eb98
commit 3bc1acba4a
4 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ check_version() {
}
if ! check_version 2>/dev/null; then
set -x
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
cd "$tmpdir"

View File

@ -16,6 +16,7 @@ version: $version
}
if ! check_version 2>/dev/null; then
set -x
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
cd "$tmpdir"

View File

@ -21,6 +21,7 @@ check_version() {
}
if ! check_version 2>/dev/null; then
set -x
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
cd "$tmpdir"

View File

@ -28,6 +28,7 @@ check_version() {
}
if ! check_version 2>/dev/null; then
set -x
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
cd "$tmpdir"