summaryrefslogtreecommitdiffstats
path: root/init-repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'init-repository.py')
-rwxr-xr-xinit-repository.py4
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