diff options
Diffstat (limited to 'subr/pre_setup_env.subr')
-rw-r--r-- | subr/pre_setup_env.subr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/pre_setup_env.subr b/subr/pre_setup_env.subr index c454393e..0f2c9442 100644 --- a/subr/pre_setup_env.subr +++ b/subr/pre_setup_env.subr @@ -1,8 +1,9 @@ # -# . ./build.vars and set -o errexit -o noglob are assumed. +# set -o errexit -o noglob are assumed. # pre_setup_env() { + local __; if [ -z "${BUILD_CPUS}" ]\ && [ -e /proc/cpuinfo ]; then BUILD_CPUS=$(awk '/^processor/{cpus++} END{print cpus}' /proc/cpuinfo); |