Hardlink or copy scratch builds always

JIRA: RHELCMP-1566
Signed-off-by: Haibo Lin <hlin@redhat.com>
master
Haibo Lin 3 years ago
parent a294a05726
commit 9920aa7a74

@ -97,6 +97,10 @@ class Linker(kobo.log.LoggingBase):
if src == dst:
return
# Always hardlink or copy scratch builds
if "/work/tasks/" in src:
self._link_file(src, dst, "hardlink-or-copy")
old_src = src
if relative:
src = relative_path(src, dst)

Loading…
Cancel
Save