Skip to content

Commit d5663b7

Browse files
committed
Fix OpenSSL version pattern (rbenv#365)
1 parent 8d2d266 commit d5663b7

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
@@ -608,7 +608,7 @@ verify_gcc() {
608608

609609
has_broken_mac_openssl() {
610610
[ "$(uname -s)" = "Darwin" ] &&
611-
[[ "$(openssl version 2>/dev/null || true)" =~ 'OpenSSL 0\.9\.8' ]] &&
611+
[[ "$(openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] &&
612612
[[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]]
613613
}
614614

0 commit comments

Comments
 (0)