提交 6b327267 编写于 作者: Y yangming_ha

IssueNo:#I3OGBI optimize symlink copy for file system generate prodedure

上级 545645f8
......@@ -107,7 +107,7 @@ class Packer():
makedirs(target_path)
self.chmod_dirs.append((target_path, dir_mode))
tfile = os.path.join(target_path, os.path.basename(source_path))
shutil.copy(sfile, tfile)
shutil.copy(sfile, tfile, follow_symlinks=False)
self.chmod_dirs.append((tfile, file_mode))
if os.path.isfile(spath):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册