avoid collisions when downloading files from different builds with the same path and filename
This commit is contained in:
parent
58f8fe0b78
commit
3d28cc0ac3
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ class VMExecTask(BaseTaskHandler):
|
|||
from the server. Returns an open file object.
|
||||
"""
|
||||
# fileinfo['localpath'] is set by getFileList()
|
||||
localpath = os.path.join(self.buildreq_dir, type, fileinfo['localpath'])
|
||||
localpath = os.path.join(self.buildreq_dir, buildinfo['name'], type, fileinfo['localpath'])
|
||||
if not os.path.isfile(localpath):
|
||||
remote_pi = koji.PathInfo(self.options.topurl)
|
||||
if type == 'rpm':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue