From 1dd94dfba3ed3ffd087d1ba93154cb922033a37c Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku Date: Tue, 30 Apr 2019 21:51:03 +0900 Subject: [PATCH] Must use IO::NULL instead of platform dependent filename --- tool/redmine-backporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 3c2d46d4ea..1ac001bb6e 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -436,7 +436,7 @@ eom 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="(?\d+)/ =~ log rev = "r#{rev}" end