Fixes issue where switch statement would check if MSSQL_CLI_OFFICIAL_BUILD would be equal to the "True" string, without taking casing into account. This was only impacting deb and rpm packaging. Proposed solution uses a command that's supported in Bash 4.0+.
I have validated that this fix is compatible with our Dockerized approach to building Linux packages. This is currently being tested for compatibility with Azure DevOps.
Fixes issue where switch statement would check if
MSSQL_CLI_OFFICIAL_BUILD
would be equal to the"True"
string, without taking casing into account. This was only impacting deb and rpm packaging. Proposed solution uses a command that's supported in Bash 4.0+.I have validated that this fix is compatible with our Dockerized approach to building Linux packages. This is currently being tested for compatibility with Azure DevOps.