diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 841a25e545..0f95305b3c 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -91,7 +91,7 @@ while [[ -n $1 ]]; do fi done -while getopts "h?p:Pn:c:t:gG:a:Dd:rusxz:p:C:Sfew" opt "${shortArgs[*]}"; do +while getopts "h?p:Pn:c:t:gG:a:Dd:rusxz:p:C:Sfew" opt "${shortArgs[@]}"; do case $opt in h | \?) usage diff --git a/net/net.sh b/net/net.sh index 725e41fa3d..ad39e4b809 100755 --- a/net/net.sh +++ b/net/net.sh @@ -106,7 +106,7 @@ while [[ -n $1 ]]; do fi done -while getopts "h?T:t:o:f:rD:i:c:F" opt "${shortArgs[*]}"; do +while getopts "h?T:t:o:f:rD:i:c:F" opt "${shortArgs[@]}"; do case $opt in h | \?) usage