path: root/
diff options
authorZeno Albisser <>2013-06-27 16:25:52 +0200
committerAndras Becsi <>2013-06-27 20:36:25 +0200
commit06d2af7d988e071a3c4c4dbc229f578d8f0331a4 (patch)
treeecc8b4902a37ee0fff50c6a20c5b1ae481e03953 /
parent9d5c3ff62103708266d8bdc3a8fb02b07283d6b7 (diff)
Fix for Mac.
On Mac we also want to clone submodules which have an os tag 'mac'. Change-Id: Ibed75378767e3489a7b496c77a563464e10ea0a8 Reviewed-by: Andras Becsi <>
Diffstat (limited to '')
1 files changed, 3 insertions, 1 deletions
diff --git a/ b/
index ae7679da5..529c56910 100755
--- a/
+++ b/
@@ -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