Fix unbound variable error in launch_local_testnet.sh
This commit is contained in:
parent
fc0d5552ec
commit
7378d55108
|
@ -33,6 +33,7 @@ PIDS_TO_WAIT=""
|
||||||
# argument parsing #
|
# argument parsing #
|
||||||
####################
|
####################
|
||||||
|
|
||||||
|
USE_SYSTEM_GETOPT="${USE_SYSTEM_GETOPT:-0}"
|
||||||
GETOPT_BINARY="getopt"
|
GETOPT_BINARY="getopt"
|
||||||
if [[ "${OS}" == "macos" && "$USE_SYSTEM_GETOPT" != "1" ]]; then
|
if [[ "${OS}" == "macos" && "$USE_SYSTEM_GETOPT" != "1" ]]; then
|
||||||
# Without the head -n1 constraint, it gets confused by multiple matches
|
# Without the head -n1 constraint, it gets confused by multiple matches
|
||||||
|
|
Loading…
Reference in New Issue