comparison scripts/Docker/roundup_start @ 7677:c7788bdd3760

fix: use [ -n ... ] rather than ! [ -z ...] Style fix. Courtesy of https://www.shellcheck.net/
author John Rouillard <rouilj@ieee.org>
date Tue, 24 Oct 2023 21:55:24 -0400
parents 678d235f024d
children 095f379bf639
comparison
equal deleted inserted replaced
7676:678d235f024d 7677:c7788bdd3760
14 # not supported by POSIX shell, but then neither is pipefail. 14 # not supported by POSIX shell, but then neither is pipefail.
15 trap "echo 'Exiting on pipefail'" ERR 15 trap "echo 'Exiting on pipefail'" ERR
16 16
17 set -e 17 set -e
18 18
19 if ! [ -z "$SHELL_DEBUG" ]; then 19 if [ -n "$SHELL_DEBUG" ]; then
20 set -xv 20 set -xv
21 fi 21 fi
22 22
23 trap exit INT 23 trap exit INT
24 24

Roundup Issue Tracker: http://roundup-tracker.org/