summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 8b60ee21cb..3e90adba48 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -389,8 +389,7 @@ def package(vcs, rev, destdir, tmp = nil)
File.open("#{defaults}/ruby.rb", "w") {}
miniruby = ENV['MINIRUBY'] + " -I. -I#{extout} -rcross"
baseruby = ENV["BASERUBY"]
- mk = (IO.read("template/Makefile.in") rescue IO.read("Makefile.in")).
- gsub(/^@.*\n/, '')
+ mk = IO.read("Makefile.in").gsub(/^@.*\n/, '')
vars = {
"EXTOUT"=>extout,
"PATH_SEPARATOR"=>File::PATH_SEPARATOR,