mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Set the permissions for the docs and demo tarballs too
(cherry picked from commit 941d3c1ad2)
This commit is contained in:
4
build.py
4
build.py
@@ -1182,7 +1182,7 @@ def cmd_bdist_docs(options, args):
|
||||
|
||||
with tarfile.open(name=tarfilename, mode="w:gz") as tarball:
|
||||
tarball.add('docs/html', os.path.join(rootname, 'docs/html'),
|
||||
filter=lambda info: None if '.svn' in info.name else info)
|
||||
filter=_setTarItemPerms)
|
||||
|
||||
if options.upload:
|
||||
uploadPackage(tarfilename, options, keep=5,
|
||||
@@ -2096,7 +2096,7 @@ def cmd_sdist_demo(options, args):
|
||||
tarball = tarfile.open(name=tarfilename, mode="w:gz")
|
||||
pwd = pushDir(PDEST)
|
||||
for name in glob.glob('*'):
|
||||
tarball.add(name, os.path.join(rootname, name))
|
||||
tarball.add(name, os.path.join(rootname, name), filter=_setTarItemPerms)
|
||||
tarball.close()
|
||||
msg('Cleaning up...')
|
||||
del pwd
|
||||
|
||||
Reference in New Issue
Block a user