ruby-changes:9401
From: usa <ko1@a...>
Date: Tue, 23 Dec 2008 15:49:58 +0900 (JST)
Subject: [ruby-changes:9401] Ruby:r20939 (trunk): * tool/file2lastrev.rb: shouldn't use single quote in shell's command
usa 2008-12-23 15:49:39 +0900 (Tue, 23 Dec 2008) New Revision: 20939 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20939 Log: * tool/file2lastrev.rb: shouldn't use single quote in shell's command line if you want to support Windows. Modified files: trunk/ChangeLog trunk/tool/file2lastrev.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20938) +++ ChangeLog (revision 20939) @@ -1,3 +1,8 @@ +Tue Dec 23 15:48:55 2008 NAKAMURA Usaku <usa@r...> + + * tool/file2lastrev.rb: shouldn't use single quote in shell's command + line if you want to support Windows. + Tue Dec 23 15:46:43 2008 Yuki Sonoda (Yugui) <yugui@y...> * lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537] Index: tool/file2lastrev.rb =================================================================== --- tool/file2lastrev.rb (revision 20938) +++ tool/file2lastrev.rb (revision 20939) @@ -19,9 +19,9 @@ info = case vcs when :svn - `cd '#{SRCDIR}' && svn info '#{path}'` + `cd "#{SRCDIR}" && svn info "#{path}"` when :git - `cd '#{SRCDIR}' && git svn info '#{path}'` + `cd "#{SRCDIR}" && git svn info "#{path}"` end if info =~ /^Revision: (\d+)$/ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/