Skip to content

Commit 7399e92

Browse files
committed
Remove extra paren
1 parent f9299a6 commit 7399e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ruby-build

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

0 commit comments

Comments
 (0)