summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/download.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-16 14:57:27 +1000
committerChris Johns <chrisj@rtems.org>2013-04-16 14:57:27 +1000
commitf8bdb41bef7d4478a90d79d7ec3caa55110664be (patch)
treed9df68512f3c4404899dec85d35cc415deb7b4fa /source-builder/sb/download.py
parentAdd snapshot macros files. (diff)
downloadrtems-source-builder-f8bdb41bef7d4478a90d79d7ec3caa55110664be.tar.bz2
Minor clean up.
Diffstat (limited to 'source-builder/sb/download.py')
-rw-r--r--source-builder/sb/download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py
index 8b6be2c..fef558a 100644
--- a/source-builder/sb/download.py
+++ b/source-builder/sb/download.py
@@ -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):
#