Make sure we write out relative paths for the infofile

This commit is contained in:
Jesse Keating 2008-08-04 17:57:53 -04:00
parent 5beb34227e
commit f253e2e8bb
1 changed files with 2 additions and 2 deletions

View File

@ -1039,7 +1039,7 @@ cost=500
shutil.move('%s-disc1' % self.topdir, os.path.join(self.workdir, 'os-unified'))
# Write out a line describing the media
self.writeinfo('media: %s' % isofile)
self.writeinfo('media: %s' % self.mkrelative(isofile))
if self.config.getint('default', 'discs') > 1:
if self.config.get('default', 'arch') == 'source':
@ -1090,7 +1090,7 @@ cost=500
isolist.append(self.mkrelative(isofile))
# Write out a line describing the CD set
self.writeinfo('mediaset: %s' % ' '.join(isolist))
self.writeinfo('mediaset: %s' % ' '.join(self.mkrelative(iso) for iso in isolist))
# Now link the boot iso
if not self.config.get('default', 'arch') == 'source' and \