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.
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.