2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00

Omit svn & git repository data when copying files.

This commit is contained in:
Krystian Bacławski
2015-08-31 11:21:08 +02:00
parent 362070d799
commit 7403a8f897

View File

@ -358,7 +358,7 @@ def unpack(name, work_dir='{sources}', top_dir=None, dst_dir=None):
if path.isdir(src):
if top_dir is not None:
src = path.join(src, top_dir)
copytree(src, dst, exclude=['*.svn'])
copytree(src, dst, exclude=['.svn', '.git'])
else:
tmpdir = mkdtemp(dir='{tmpdir}')
with cwd(tmpdir):