From 3d28cc0ac331dc146ca3ace21041fc70a9de71fb Mon Sep 17 00:00:00 2001 From: Mike Bonnet Date: Mon, 12 Dec 2011 12:28:41 -0500 Subject: [PATCH] avoid collisions when downloading files from different builds with the same path and filename --- vm/kojivmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/kojivmd b/vm/kojivmd index fe8569f6..6a58544c 100755 --- a/vm/kojivmd +++ b/vm/kojivmd @@ -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':