From d4b5d60d2ae39c1d74b78e8b8f4f1ddd29c7953b 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.39.5