summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-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