mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: autotest: use -z in place of -v for checking variable settedness
Some bash versions out there don't like -v
This commit is contained in:
parent
15a7a9e6f8
commit
27650c08aa
@ -7,7 +7,7 @@ name="$1"
|
||||
shift
|
||||
echo "RiTW: Starting $name : $*"
|
||||
|
||||
if [ ! -v SITL_RITW_MINIMIZE ]; then
|
||||
if [ -z "$SITL_RITW_MINIMIZE" ]; then
|
||||
SITL_RITW_MINIMIZE=1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user