Only download frameworks on OS X.

This commit is contained in:
Cheng Zhao 2013-06-28 16:12:40 +08:00
parent 8034afdcdf
commit 97a38fe55d

View file

@ -18,9 +18,11 @@ def main():
def update_frameworks_and_node(version):
uf = os.path.join(SOURCE_ROOT, 'script', 'update-frameworks.py')
if sys.platform == 'darwin':
uf = os.path.join(SOURCE_ROOT, 'script', 'update-frameworks.py')
subprocess.check_call([sys.executable, uf])
un = os.path.join(SOURCE_ROOT, 'script', 'update-node.py')
subprocess.check_call([sys.executable, uf])
subprocess.check_call([sys.executable, un, '--version', version])