mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Use a relative path for the download notice message.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user