OpenTreeOfLife / germinator

miscellaneous scripts and data for concerns that span more than one of the Open Tree code repositories: integration tests, system statistics, etc.
BSD 2-Clause "Simplified" License
21 stars 7 forks source link

Correctly handle multiple installed Pythons #152

Closed jimallman closed 4 years ago

jimallman commented 4 years ago

This avoids an error when there are multiple Python versions installed, since expanding multiple header files will cause an bash error:

./as-admin.sh: line 107: [: too many arguments

Adapted from the solution found here: https://stackoverflow.com/a/6364244