1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_case.rb: $make before $MAKE

* lib/rubygems/test_case.rb (make_command): try unusual $make
  before usual $MAKE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-03-30 00:50:47 +00:00
parent 144484f213
commit be6ef3502e

View file

@ -1108,7 +1108,7 @@ Also, a list:
# other platforms, including Cygwin, it will return 'make'. # other platforms, including Cygwin, it will return 'make'.
def self.make_command def self.make_command
ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make') ENV["make"] || ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make')
end end
## ##
@ -1117,7 +1117,7 @@ Also, a list:
# other platforms, including Cygwin, it will return 'make'. # other platforms, including Cygwin, it will return 'make'.
def make_command def make_command
ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make') ENV["make"] || ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make')
end end
## ##