summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-07 22:25:23 +0000
committerodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-07 22:25:23 +0000
commit96b75bb1cee0eef76ccd8e88abbf865dcae5cb28 (patch)
treec96da3cf829a62231d0fee702814a4ef4162cff0
parent942dbb02387a1fdd411713c095fefa1a293c4709 (diff)
* 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
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index ca13cc91af..3e66eea414 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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