summaryrefslogtreecommitdiff
path: root/configs/baseline/build.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-23 16:09:33 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-23 16:09:33 -0300
commitb200ce82f7bf491611731b3b5fc1768613fe37e7 (patch)
tree2f128c35972396c0d84caac124eac6c3dc9244d8 /configs/baseline/build.sh
parent5f57352398e9ec7ab7bbe14fe24619987235060f (diff)
downloadarchiso32-b200ce82f7bf491611731b3b5fc1768613fe37e7.tar.xz
Ensure correct umask for scripts
Fix for FS#58473 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs/baseline/build.sh')
-rwxr-xr-xconfigs/baseline/build.sh2
1 files changed, 2 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