build(packaging): bash comparison in PKGBUILD (#4565)

This commit is contained in:
David Lane 2026-01-05 18:10:52 -05:00 committed by GitHub
commit c9e0bb864e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ _versioned_gcc=false # set to true if we need a versioned gcc, e.g. gcc14
_gcc_dep_suffix=""
_gcc_env_suffix=""
if [ "${_versioned_gcc}" = true ]; then
if [ "${_versioned_gcc}" == true ]; then
_gcc_dep_suffix="${_gcc_version}"
_gcc_env_suffix="-${_gcc_version}"
fi