提交 d1f30574 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !101 from yangming_ha/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册