Skip to content
This repository has been archived by the owner on Feb 1, 2020. It is now read-only.

Commit

Permalink
Install ninja-build instead of ninja when on trusty without using `pl…
Browse files Browse the repository at this point in the history
…atform.linux_distribution()`
  • Loading branch information
bulbazord authored and xiaobai committed Jul 29, 2017
1 parent 218d3a5 commit a041e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/Testing/Travis/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
if os.getenv('CLANG') != '1':
dist_packages.append('gcc')
elif host == 'Linux':
if "Ubuntu" in platform.linux_distribution():
if os.getenv("LINUX_DISTRO") == "trusty":
dist_packages.append('ninja-build')
else:
dist_packages.append('ninja')
Expand Down

0 comments on commit a041e45

Please sign in to comment.