From 55f786d8ba8ce58a81428536da34a2192b9bad9f Mon Sep 17 00:00:00 2001 From: Peter Tyser Date: Mon, 21 Sep 2009 12:04:33 -0500 Subject: [PATCH] MAKEALL: Use POSIX math Signed-off-by: Peter Tyser --- MAKEALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAKEALL b/MAKEALL index 4688d422ff..dbcad87f18 100755 --- 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 -- 2.25.1