From: Peter Tyser Date: Mon, 21 Sep 2009 17:04:33 +0000 (-0500) Subject: MAKEALL: Use POSIX math X-Git-Tag: v2009.11-rc1~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55f786d8ba8ce58a81428536da34a2192b9bad9f;p=oweals%2Fu-boot.git MAKEALL: Use POSIX math Signed-off-by: Peter Tyser --- 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