MAKEALL: Use POSIX math
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 21 Sep 2009 17:04:33 +0000 (12:04 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:33 +0000 (09:04 -0500)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
MAKEALL

diff --git a/MAKEALL b/MAKEALL
index 4688d422ff8dd6b76717f8b498380b713e1eeb06..dbcad87f18168c0241ba93180208262b04c38cd8 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -9,7 +9,7 @@ trap print_stats 0
 
 if [ "$BUILD_NCPUS" -gt 1 ]
 then
-       JOBS=-j`expr "$BUILD_NCPUS" + 1`
+       JOBS="-j $((BUILD_NCPUS + 1))"
 else
        JOBS=""
 fi