Remove extra paren

This commit is contained in:
Benoit Daloze 2022-07-14 19:39:51 +02:00
parent f9299a6332
commit 7399e92f1f

View file

@ -1268,7 +1268,7 @@ build_package_enable_yjit() {
local rustc_ver="$(rustc --version 2>/dev/null)"
[ -n "$rustc_ver" ] || return 0
# Some kind of built-in bash comparison for dotted version strings would be awesome.
if [[ "${rustc_ver})" == *"rustc 1."[6789]* ]]; then
if [[ "${rustc_ver}" == *"rustc 1."[6789]* ]]; then
echo "Building with YJIT by default because ${rustc_ver} is installed; add RUBY_CONFIGURE_OPTS='--disable-yjit' to disable explicitly" >&3
package_option ruby configure --enable-yjit
else