aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-26 15:51:13 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-26 15:51:13 +0000
commit22415d4ff99e4591b8f176d173639a1be4df9962 (patch)
tree53d99e2d1cc2e20b5913e4fe24b6da9b70250a74 /tool
parent4ae72030f2b31e047290d3919d80a886d8073629 (diff)
downloadruby-22415d4ff99e4591b8f176d173639a1be4df9962.tar.gz
* tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
literal "autoconf". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 2c0db91cd4..32ae1722a7 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -38,6 +38,7 @@ ENV["MV"] ||= "mv"
ENV["RM"] ||= "rm -f"
ENV["MINIRUBY"] ||= "ruby"
ENV["PROGRAM"] ||= "ruby"
+ENV["AUTOCONF"] ||= "autoconf"
class String
# for older ruby
@@ -179,7 +180,7 @@ def package(rev, destdir)
end
unless File.exist?("configure")
print "creating configure..."
- unless system("autoconf")
+ unless system(ENV["AUTOCONF"])
puts " failed"
return
end