From 81031ebdcc6fb73550c91935a7c0f586a0faa1fa Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 23 Dec 2008 06:49:39 +0000 Subject: * tool/file2lastrev.rb: shouldn't use single quote in shell's command line if you want to support Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/file2lastrev.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/file2lastrev.rb') diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 430aca6730..73cc9997a9 100644 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -19,9 +19,9 @@ def get_revisions(path) 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+)$/ -- cgit v1.2.3