diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 14:41:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 14:48:54 +0900 |
commit | 35c493ecf5d71c9164bafe03ae8831445c207b2a (patch) | |
tree | 8397c9086f58ac407eb5d2746d8f8604598cb6a8 /tool/make-snapshot | |
parent | 1f91dcdab3b530dde93fa29fba8bf60683cd8056 (diff) | |
download | ruby-35c493ecf5d71c9164bafe03ae8831445c207b2a.tar.gz |
Dump cross.rb only when verbose [ci skip]
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index b88bcdc297..02b5d182f5 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -22,6 +22,7 @@ $keep_temp ||= nil $patch_file ||= nil $packages ||= nil $digests ||= nil +$no7z ||= nil $tooldir = File.expand_path("..", __FILE__) $unicode_version = nil if ($unicode_version ||= nil) == "" $colorize = Colorize.new @@ -146,7 +147,7 @@ unless destdir = ARGV.shift end revisions = ARGV.empty? ? [nil] : ARGV -if $exported +if defined?($exported) abort "#{File.basename $0}: -exported option is deprecated; use -srcdir instead" end @@ -416,7 +417,7 @@ def package(vcs, rev, destdir, tmp = nil) f.puts "Object.__send__(:remove_const, :RUBY_VERSION)" f.puts "RUBY_VERSION='#{version}'" end - warn "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), "" + puts "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), "" if $VERBOSE unless File.exist?("configure") print "creating configure..." unless system([ENV["AUTOCONF"]]*2) |