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

* tool/make-snapshot: prefer to use a make command

set in the MAKE or make env variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
odaira 2017-06-07 22:25:23 +00:00
parent 942dbb0238
commit 96b75bb1ce

View file

@ -331,7 +331,7 @@ update-gems:
f.puts "prereq: update-download"
f.puts mk
end
system("make", "prereq", *args.map {|arg| arg.join("=")})
system(ENV["MAKE"] || ENV["make"] || "make", "prereq", *args.map {|arg| arg.join("=")})
clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk")
print "prerequisites"
else