Fix build on mac
MacOS 13.0 bundles bash 3.2 which doesn't understand ,, for lowercase.
This commit is contained in:
parent
833a91d22d
commit
407b3116db
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ THIS_SCRIPT=$(dirname "$0");
|
|||
# "RelWithDebInfo" but custom ones can also be defined so we pass it verbatim.
|
||||
BUILD_TYPE=$1;
|
||||
LIB_TYPE=$2;
|
||||
if [ "${LIB_TYPE,,}" == "shared" ]; then
|
||||
if [ "$(echo "${LIB_TYPE}" | tr '[:upper:]' '[:lower:]')" == "shared" ]; then
|
||||
SHARED_TOGGLE="ON"
|
||||
else
|
||||
SHARED_TOGGLE="OFF"
|
||||
|
|
Loading…
Add table
Reference in a new issue