##// END OF EJS Templates
setup: fix runcmd() usage on darwin...
Adam Simpkins -
r33119:176030f6 default
parent child Browse files
Show More
@@ -814,7 +814,7 b" if os.name == 'nt':"
814 setupversion = version.split('+', 1)[0]
814 setupversion = version.split('+', 1)[0]
815
815
816 if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
816 if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
817 version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines()
817 version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines()
818 if version:
818 if version:
819 version = version[0]
819 version = version[0]
820 if sys.version_info[0] == 3:
820 if sys.version_info[0] == 3:
General Comments 0
You need to be logged in to leave comments. Login now