summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/baseline/build.sh2
-rwxr-xr-xconfigs/releng/build.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index b6f7b4c..7c61d03 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -12,6 +12,8 @@ out_dir=out
script_path=$(readlink -f ${0%/*})
+umask 0022
+
# Helper function to run make_*() only one time per architecture.
run_once() {
if [[ ! -e ${work_dir}/build.${1}_${arch} ]]; then
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 72b1e3f..3cb0675 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -14,6 +14,8 @@ arch=$(uname -m)
verbose=""
script_path=$(readlink -f ${0%/*})
+umask 0022
+
_usage ()
{
echo "usage ${0} [options]"