[Update] Change umask for update to ensure its 0022

This commit is contained in:
André Peters 2018-10-28 10:41:45 +01:00 committed by GitHub
commit 7325d80f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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