# HG changeset patch # User Gilles Duboscq # Date 1397561252 -7200 # Node ID d93cc1fdf55e3f0f48148a597c77e9d5dfbb685b # Parent 65efd2eeea1ba67f243b1e931cc61093e73ddb0e Fix Library.get_source_path (use sourcePath instead of path) diff -r 65efd2eeea1b -r d93cc1fdf55e mxtool/mx.py --- 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)