Ver Fonte

Fix file permission for python package.

`umask 0022` makes sure the created package will be accessible by all users.
Feng Xiao há 7 anos atrás
pai
commit
3a06fe1fc9
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      python/release.sh

+ 1 - 0
python/release.sh

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