ruby-changes:55629
From: NAKAMURA <ko1@a...>
Date: Tue, 30 Apr 2019 21:51:47 +0900 (JST)
Subject: [ruby-changes:55629] NAKAMURA Usaku:1dd94dfba3 (trunk): Must use IO::NULL instead of platform dependent filename
https://git.ruby-lang.org/ruby.git/commit/?id=1dd94dfba3 From 1dd94dfba3ed3ffd087d1ba93154cb922033a37c Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku <usa@r...> Date: Tue, 30 Apr 2019 21:51:03 +0900 Subject: Must use IO::NULL instead of platform dependent filename diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 3c2d46d..1ac001b 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -436,7 +436,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L436 next 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 rev = "r#{rev}" end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/