tools/testbuild.sh: prevent grep from exiting in case of nomatch
Prevent grep from exiting in case of nomatch for blacklist when testbuild.sh called with -x option which set -e in bash.
This commit is contained in:
parent
30a48e4217
commit
58318bbc28
@ -131,8 +131,8 @@ fi
|
||||
|
||||
export APPSDIR
|
||||
|
||||
testlist=`grep -v "^-" $testfile`
|
||||
blacklist=`grep "^-" $testfile`
|
||||
testlist=`grep -v "^-" $testfile || true`
|
||||
blacklist=`grep "^-" $testfile || true`
|
||||
|
||||
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user