diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-06-27 16:25:52 +0200 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2013-06-27 20:36:25 +0200 |
commit | 06d2af7d988e071a3c4c4dbc229f578d8f0331a4 (patch) | |
tree | ecc8b4902a37ee0fff50c6a20c5b1ae481e03953 | |
parent | 9d5c3ff62103708266d8bdc3a8fb02b07283d6b7 (diff) |
Fix init-repository.py for Mac.
On Mac we also want to clone submodules which
have an os tag 'mac'.
Change-Id: Ibed75378767e3489a7b496c77a563464e10ea0a8
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
-rwxr-xr-x | init-repository.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init-repository.py b/init-repository.py index ae7679da5..529c56910 100755 --- a/init-repository.py +++ b/init-repository.py @@ -79,7 +79,9 @@ class Submodule: return True if sys.platform.startswith('win32') and 'win' in self.os: return True - if (sys.platform.startswith('linux') or sys.platform.startswith('darwin')) and 'unix' in self.os: + if sys.platform.startswith('linux') and 'unix' in self.os: + return True + if sys.platform.startswith('darwin') and ('unix' in self.os or 'mac' in self.os): return True return False |