Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3502 from rvm/mvnw

Use JRuby's ./mvnw to build JRuby 9k+
commit 2f643c27318f7500a9bd7d00551f8e92f7e95e40 2 parents 4573664 + 5a39416
@havenwood havenwood authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 scripts/functions/manage/jruby
View
8 scripts/functions/manage/jruby
@@ -46,12 +46,14 @@ about not returning non zero status in case of errors."
jruby_install_post17()
{
- __rvm_log_command "mvn" "$rvm_ruby_string - #mvn" mvn || return $?
+ \typeset mvnw="${rvm_src_path}/$rvm_ruby_string/mvnw"
+
+ __rvm_log_command "mvnw" "$rvm_ruby_string - #$mvnw" "$mvnw" || return $?
if
(( ${#rvm_configure_flags[@]} ))
then
- __rvm_log_command "mvn_flags" "$rvm_ruby_string - #mvn ${rvm_configure_flags[*]}" \
- mvn "${rvm_configure_flags[@]}" ||
+ __rvm_log_command "mvn_flags" "$rvm_ruby_string - #$mvnw ${rvm_configure_flags[*]}" \
+ $mvnw "${rvm_configure_flags[@]}" ||
return $?
fi
}

0 comments on commit 2f643c2

Please sign in to comment.
Something went wrong with that request. Please try again.