diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-09-11 21:03:19 +0200 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-09-11 21:03:19 +0200 |
commit | ef21c68233644d7f3a9abc3092fc3d2b7affd8a0 (patch) | |
tree | 2eac99b4b47e608e81b5ec83a98486e170f8412e | |
parent | ca3f5e5fbd90193f82ec6652a0244656e3ab68a4 (diff) | |
download | midipix_build-ef21c68233644d7f3a9abc3092fc3d2b7affd8a0.tar.bz2 midipix_build-ef21c68233644d7f3a9abc3092fc3d2b7affd8a0.tar.xz |
Fixes ./build.sh BUILD_CPUS=<n>.
-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; |