summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-10 05:12:04 +1100
committerChris Johns <chrisj@rtems.org>2019-02-10 05:12:04 +1100
commit98588a55961a92f5d27bfd756dfc9e31b2b1bf98 (patch)
tree02e38d8b9bfb961e6a69d06a16f40caf5d1606e1
parentrtems/5: Add the required MacOS APFS workround for building libstdc++. (diff)
downloadrtems-source-builder-98588a55961a92f5d27bfd756dfc9e31b2b1bf98.tar.bz2
sb/rtems-build-dep: Fix arg check loop, removes stray 0 in build.
-rwxr-xr-xsource-builder/sb/rtems-build-dep2
1 files changed, 1 insertions, 1 deletions
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