mkmf.rb: message format string
* lib/mkmf.rb (checking_for): message needs format string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfdfc99cc2
commit
df5d84bb41
@ -943,10 +943,10 @@ SRC
|
|||||||
a = r = nil
|
a = r = nil
|
||||||
Logging::postpone do
|
Logging::postpone do
|
||||||
r = yield
|
r = yield
|
||||||
a = (fmt ? "#{fmt % r}" : r ? "yes" : "no") << "\n"
|
a = (fmt ? "#{fmt % r}" : r ? "yes" : "no")
|
||||||
"#{f}#{m}-------------------- #{a}\n"
|
"#{f}#{m}-------------------- #{a}\n\n"
|
||||||
end
|
end
|
||||||
message(a)
|
message "%s\n", a
|
||||||
Logging::message "--------------------\n\n"
|
Logging::message "--------------------\n\n"
|
||||||
r
|
r
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user