[PATCH] sb/rtems-build-dep: Fix arg check loop, removes stray 0 in build.

chrisj at rtems.org chrisj at rtems.org
Sat Feb 9 18:12:41 UTC 2019


From: Chris Johns <chrisj at rtems.org>

---
 source-builder/sb/rtems-build-dep | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-builder/sb/rtems-build-dep b/source-builder/sb/rtems-build-dep
index 7e406c5..1f795d3 100755
--- a/source-builder/sb/rtems-build-dep
+++ b/source-builder/sb/rtems-build-dep
@@ -48,7 +48,7 @@ if [ $# -eq 0 ]; then
                        [-l library] [-L library-paths] [-v] [-d]'
     exit 2
 fi
-while [ $# > 0 ]
+while [ $# -gt 0 ]
 do
     case "$1"
     in
-- 
2.19.1



More information about the devel mailing list