Print the installed path as relative.

This commit is contained in:
Chris Johns 2013-02-19 20:04:26 +11:00
parent 608cfa77b8
commit ab99d6fe8c

View File

@ -118,7 +118,7 @@ class buildset:
def last_package(self, _build, tmproot):
tar = path.join(_build.config.expand('%{_tardir}'),
_build.config.expand('%s.tar.bz2' % (self.bset_pkg)))
_notice(self.opts, 'tarball: %s' % path.host(tar))
_notice(self.opts, 'tarball: %s' % os.path.relpath(path.host(tar)))
if not self.opts.dry_run():
cmd = _build.config.expand("'cd " + tmproot + \
" && %{__tar} -cf - . | %{__bzip2} > " + tar + "'")