koji-shadow: use workpath consistently
This commit is contained in:
parent
880a57730f
commit
3d06f7a805
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ class TrackedBuild(object):
|
|||
print "Downloading %s" % url
|
||||
#XXX - this is not really the right place for this
|
||||
fsrc = urllib2.urlopen(url)
|
||||
fn = "/tmp/koji-shadow/%s.src.rpm" % self.nvr
|
||||
fn = "%s/%s.src.rpm" % (options.workpath, self.nvr)
|
||||
koji.ensuredir(os.path.dirname(fn))
|
||||
fdst = file(fn, 'w')
|
||||
shutil.copyfileobj(fsrc, fdst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue