зеркало из https://github.com/github/ruby.git
* tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
313cdec1bc
Коммит
2e44efd4d9
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 4 20:39:20 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
|
||||||
|
|
||||||
Thu Jul 4 20:20:23 2013 Tanaka Akira <akr@fsij.org>
|
Thu Jul 4 20:20:23 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* bignum.c (maxpow_in_bdigit_dbl): Use tables if available.
|
* bignum.c (maxpow_in_bdigit_dbl): Use tables if available.
|
||||||
|
|
|
@ -265,8 +265,12 @@ ensure
|
||||||
FileUtils.rm_rf(v) if v and !$exported and !$keep_temp
|
FileUtils.rm_rf(v) if v and !$exported and !$keep_temp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
success = true
|
||||||
revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name|
|
revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name|
|
||||||
name or next
|
if !name
|
||||||
|
success = false
|
||||||
|
next
|
||||||
|
end
|
||||||
str = open(name, "rb") {|f| f.read}
|
str = open(name, "rb") {|f| f.read}
|
||||||
md5 = Digest::MD5.hexdigest str
|
md5 = Digest::MD5.hexdigest str
|
||||||
sha = Digest::SHA256.hexdigest str
|
sha = Digest::SHA256.hexdigest str
|
||||||
|
@ -277,4 +281,6 @@ revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name|
|
||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
exit false if !success
|
||||||
|
|
||||||
# vim:fileencoding=US-ASCII sw=2 ts=4 noexpandtab ff=unix
|
# vim:fileencoding=US-ASCII sw=2 ts=4 noexpandtab ff=unix
|
||||||
|
|
Загрузка…
Ссылка в новой задаче