Fix file permission for python package.

`umask 0022` makes sure the created package will be accessible by all users.
This commit is contained in:
Feng Xiao 2017-12-14 17:54:18 -08:00
parent c79ba5c1b6
commit 3a06fe1fc9

View File

@ -47,6 +47,7 @@ DEV=$2
# Make sure all files are world-readable.
find python -type d -exec chmod a+r,a+x {} +
find python -type f -exec chmod a+r {} +
umask 0022
# Check that the supplied version number matches what's inside the source code.
SOURCE_VERSION=`get_source_version`