[前][次][番号順一覧][スレッド一覧]

ruby-changes:38034

From: nobu <ko1@a...>
Date: Mon, 30 Mar 2015 07:36:07 +0900 (JST)
Subject: [ruby-changes:38034] nobu:r50115 (trunk): test_case.rb: use $MAKE

nobu	2015-03-30 07:35:45 +0900 (Mon, 30 Mar 2015)

  New Revision: 50115

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50115

  Log:
    test_case.rb: use $MAKE
    
    * lib/rubygems/test_case.rb (make_command): usually $MAKE is
      defined but not $make.

  Modified files:
    trunk/lib/rubygems/test_case.rb
Index: lib/rubygems/test_case.rb
===================================================================
--- lib/rubygems/test_case.rb	(revision 50114)
+++ lib/rubygems/test_case.rb	(revision 50115)
@@ -1108,7 +1108,7 @@ Also, a list: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L1108
   # other platforms, including Cygwin, it will return 'make'.
 
   def self.make_command
-    ENV["make"] || (vc_windows? ? 'nmake' : 'make')
+    ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make')
   end
 
   ##
@@ -1117,7 +1117,7 @@ Also, a list: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L1117
   # other platforms, including Cygwin, it will return 'make'.
 
   def make_command
-    ENV["make"] || (vc_windows? ? 'nmake' : 'make')
+    ENV["MAKE"] || (vc_windows? ? 'nmake' : 'make')
   end
 
   ##

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]