Mercurial > hg > truffle
diff mxtool/mx.py @ 15147:d93cc1fdf55e
Fix Library.get_source_path (use sourcePath instead of path)
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 15 Apr 2014 13:27:32 +0200 |
parents | 0672512feb81 |
children | 7357f62ed977 |
line wrap: on
line diff
--- a/mxtool/mx.py Mon Apr 14 16:31:13 2014 +0200 +++ b/mxtool/mx.py Tue Apr 15 13:27:32 2014 +0200 @@ -448,9 +448,9 @@ def get_source_path(self, resolve): - if self.path is None: + if self.sourcePath is None: return None - path = _make_absolute(self.path, self.suite.dir) + path = _make_absolute(self.sourcePath, self.suite.dir) sha1path = path + '.sha1' return _download_file_with_sha1(self.name, path, self.sourceUrls, self.sourceSha1, sha1path, resolve, len(self.sourceUrls) != 0, sources=True)