Commit 32bf7e2a authored by Alberto Pianon's avatar Alberto Pianon
Browse files

Merge branch 'ap/symlinks' into 'master'

follow symlinks when creating package

See merge request oss-compliance/toolchain/tinfoilhat!5
parents 906a3355 058a3051
......@@ -172,7 +172,7 @@ class AlienSrcCreator:
target_path = os.path.join(tmpdir_files, path)
os.makedirs(target_path, exist_ok=True)
bash(
f'rsync -aR {f["relpath"]} {target_path}',cwd=f['rootpath']
f'rsync -rLptgoR {f["relpath"]} {target_path}',cwd=f['rootpath']
)
tarfile = os.path.join(
os.path.abspath(self.target_dir),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment