2
0
Эх сурвалжийг харах

Change Umask for update to ensure its 0022

This change sets umask to 0022 and restores it afterwards to the standard umask.
This works around issue
Florian Braun 7 жил өмнө
parent
commit
2824c44781
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      update.sh

+ 2 - 0
update.sh

@@ -3,6 +3,8 @@
 #exit on error and pipefail
 set -o pipefail
 
+umask 0022
+
 for bin in curl docker-compose docker git awk sha1sum; do
   if [[ -z $(which ${bin}) ]]; then echo "Cannot find ${bin}, exiting..."; exit 1; fi
 done