Use a relative path for the download notice message.

This commit is contained in:
Chris Johns
2013-02-20 14:48:54 +11:00
parent a32dcbdda5
commit b112284fb3

View File

@@ -172,7 +172,7 @@ class build:
# #
if url.startswith('https://api.github.com'): if url.startswith('https://api.github.com'):
url = urlparse.urljoin(url, self.config.expand('tarball/%{version}')) url = urlparse.urljoin(url, self.config.expand('tarball/%{version}'))
_notice(self.opts, 'download: %s -> %s' % (url, path.host(local))) _notice(self.opts, 'download: %s -> %s' % (url, os.path.relpath(path.host(local))))
if not self.opts.dry_run(): if not self.opts.dry_run():
failed = False failed = False
_in = None _in = None