mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-23 17:55:04 +01:00
This commit is contained in:
parent
4e22c25c5b
commit
0584dcc093
@ -7,6 +7,7 @@ NEW IN WAF 1.6.9
|
||||
* Added a way to set variants containing /, for example linux/debug
|
||||
* Added a more intuitive behaviour for conf.setenv() #1062
|
||||
* Fixed the multiple bibliography processing for tex #1040
|
||||
* Windows CE detection improvements #1065
|
||||
|
||||
NEW IN WAF 1.6.8
|
||||
----------------
|
||||
|
@ -374,11 +374,6 @@ class Dist(Context.Context):
|
||||
Add a file to the tar archive. Transform symlinks into files if the files lie out of the project tree.
|
||||
"""
|
||||
p = x.abspath()
|
||||
realpath = os.path.realpath(p)
|
||||
dir = os.path.dirname(self.path.abspath())
|
||||
if not realpath.startswith(dir):
|
||||
p = realpath
|
||||
|
||||
tinfo = tar.gettarinfo(name=p, arcname=self.get_tar_prefix() + '/' + x.path_from(self.base_path))
|
||||
tinfo.uid = 0
|
||||
tinfo.gid = 0
|
||||
|
Loading…
Reference in New Issue
Block a user