earth-system-radiation / pyRTE-RRTMGP

pyRTE-RRTMGP provides a Python interface to the RTE+RRTMGP Fortran software package
https://pyrte-rrtmgp.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Improve POSIX compatibility of build script #23

Closed tcmetzger closed 5 months ago

tcmetzger commented 5 months ago

Our current build script is not fully POSIX compatible, which leads to syntax issues when running on Ubuntu (related to how the if condition is structured, specifically with the combination of && (AND) and || (OR) operators without proper grouping, I believe).

This PR updates the logic to work better across systems while maintaining the same functionality.