From 3d28cc0ac331dc146ca3ace21041fc70a9de71fb Mon Sep 17 00:00:00 2001 From: Mike Bonnet Date: Dec 12 2011 17:28:41 +0000 Subject: avoid collisions when downloading files from different builds with the same path and filename --- diff --git a/vm/kojivmd b/vm/kojivmd index fe8569f..6a58544 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':