Set 0022 umask for hack/release.sh.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2018-07-11 18:26:13 +00:00
parent 0f3c83b11b
commit 5637e8be40

View File

@ -21,6 +21,8 @@ set -o pipefail
source $(dirname "${BASH_SOURCE[0]}")/utils.sh source $(dirname "${BASH_SOURCE[0]}")/utils.sh
cd ${ROOT} cd ${ROOT}
umask 0022
# BUILD_DIR is the directory to generate release tar. # BUILD_DIR is the directory to generate release tar.
# TARBALL is the name of the release tar. # TARBALL is the name of the release tar.
BUILD_DIR=${BUILD_DIR:-"_output"} BUILD_DIR=${BUILD_DIR:-"_output"}