diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,8 @@ case ${1} in *) exec cat build.usage; ;; esac; shift; done; -if [ -e /proc/cpuinfo ]; then +if [ -z "${BUILD_CPUS}" ] \ +&& [ -e /proc/cpuinfo ]; then BUILD_CPUS=$(awk '/^processor/{cpus++} END{print cpus}' /proc/cpuinfo); fi; |