mirror of https://github.com/zulip/zulip.git
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:
parent
2b93b2eb98
commit
3bc1acba4a
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue