summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/build_init.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index a3f49f2b..053b8374 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -10,7 +10,7 @@ build_fini() {
build_init() {
local __="" _env_vars="" _env_vars_except="" _env_var="";
- set -o noglob;
+ set -o noglob; umask 022;
if [ -z "${DEFAULT_BUILD_CPUS}" ]\
&& [ -e /proc/cpuinfo ]; then
DEFAULT_BUILD_CPUS=$(awk '/^processor/{cpus++} END{print cpus}' /proc/cpuinfo);