mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Minor clean up.
This commit is contained in:
parent
1bab1652f0
commit
f8bdb41bef
@ -68,7 +68,7 @@ def _git_parser(source, config, opts):
|
||||
if len(us) > 1:
|
||||
source['args'] = us[1:]
|
||||
source['local'] = \
|
||||
path.join(source['local_prefix'], config.expand('git'), source['file'])
|
||||
path.join(source['local_prefix'], 'git', source['file'])
|
||||
source['symlink'] = source['local']
|
||||
|
||||
|
||||
@ -81,7 +81,7 @@ def _file_parser(source, config, opts):
|
||||
parsers = { 'http': _http_parser,
|
||||
'ftp': _http_parser,
|
||||
'git': _git_parser,
|
||||
'file': _file_parser }
|
||||
'file': _file_parser }
|
||||
|
||||
def parse_url(url, pathkey, config, opts):
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user