From 4acc997bf58df268386a1ef1dd026457be48393e Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Fri, 9 Apr 2021 19:44:32 -0700 Subject: [PATCH] [build] update `toranj` build script to skip over empty "" args (#6424) This commit updates `toranj/build.sh` script to skip over empty "" arguments at the start. This addresses an issue introduced in commit 531cb3484 (PR #6421) where the `start.sh` adds an empty arg when invoking `build.sh` when coverage is not enabled. --- tests/toranj/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/toranj/build.sh b/tests/toranj/build.sh index d2fc77026..3dd4dde5d 100755 --- a/tests/toranj/build.sh +++ b/tests/toranj/build.sh @@ -74,6 +74,9 @@ while [ $# -ge 2 ]; do tests=yes shift ;; + "") + shift + ;; *) echo "Error: Unknown option \"$1\"" display_usage