1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Must use IO::NULL instead of platform dependent filename

This commit is contained in:
NAKAMURA Usaku 2019-04-30 21:51:03 +09:00
parent 830e40ee05
commit 1dd94dfba3
No known key found for this signature in database
GPG key ID: C5FE8AEA64F81259

View file

@ -436,7 +436,7 @@ eom
next next
end end
if system("svn info #{RUBY_REPO_PATH&.shellescape} > /dev/null 2>&1") # SVN if system("svn info #{RUBY_REPO_PATH&.shellescape} > #{IO::NULL} 2>&1") # SVN
if log = find_svn_log("##@issue]") && /revision="(?<rev>\d+)/ =~ log if log = find_svn_log("##@issue]") && /revision="(?<rev>\d+)/ =~ log
rev = "r#{rev}" rev = "r#{rev}"
end end