X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=all;h=9af0b7c4db9ad5be1d24b378aa8c7ce1e5f6580c;hb=9ab8f62f7df361e8b731220c9cf8b9079ae4a39d;hp=58202e4c39e1ca0c40d75e91667b19a63d6f95b4;hpb=38373bf7fc054e6f3c13d9edefd21f2849769674;p=xonotic%2Fxonotic.git diff --git a/all b/all index 58202e4c..9af0b7c4 100755 --- a/all +++ b/all @@ -1035,7 +1035,7 @@ case "$cmd" in fi if [ -z "$MAKEFLAGS" ]; then if [ -f /proc/cpuinfo ]; then - ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0)) + ncpus=$((`grep -c '^processor :' /proc/cpuinfo || true`+0)) if [ $ncpus -gt 1 ]; then MAKEFLAGS=-j$ncpus fi