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

Chris Johns chrisj at rtems.org
Mon Feb 11 04:52:23 UTC 2019


Module:    rtems-source-builder
Branch:    master
Commit:    98588a55961a92f5d27bfd756dfc9e31b2b1bf98
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=98588a55961a92f5d27bfd756dfc9e31b2b1bf98

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sun Feb 10 05:12:04 2019 +1100

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

---

 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




More information about the vc mailing list