summaryrefslogtreecommitdiff
path: root/test/rubygems/gemutilities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/gemutilities.rb')
-rw-r--r--test/rubygems/gemutilities.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/gemutilities.rb b/test/rubygems/gemutilities.rb
index f1b0f75f51..803cd26c96 100644
--- a/test/rubygems/gemutilities.rb
+++ b/test/rubygems/gemutilities.rb
@@ -474,7 +474,7 @@ Also, a list:
# other platforms, including Cygwin, it will return 'make'.
#
def self.make_command
- vc_windows? ? 'nmake' : 'make'
+ ENV["make"] || (vc_windows? ? 'nmake' : 'make')
end
# Returns the make command for the current platform. For versions of Ruby
@@ -482,7 +482,7 @@ Also, a list:
# other platforms, including Cygwin, it will return 'make'.
#
def make_command
- vc_windows? ? 'nmake' : 'make'
+ ENV["make"] || (vc_windows? ? 'nmake' : 'make')
end
# Returns whether or not the nmake command could be found.