Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 27, 2024
1 parent 95fa173 commit 725c226
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mock/py/mockbuild/plugins/chroot_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ def __scanChroot(self):
m = regex.search(f)
if m:
srcpath = os.path.join(root, f)
util.do("cp --preserve=mode --parents %s %s" % (srcpath, self.resultdir), shell=True)
# we intentionally ignore errors here:
# https://github.com/rpm-software-management/mock/issues/1455
util.do(["cp", "--preserve=mode", "--parents", srcpath,
self.resultdir], raiseExc=False)
count += 1
copied.append(srcpath)
logger.debug("chroot_scan: finished with %d files found", count)
Expand Down

0 comments on commit 725c226

Please sign in to comment.