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

* 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
This commit is contained in:
usa 2008-12-23 06:49:39 +00:00
parent 99825ae914
commit 81031ebdcc
2 changed files with 7 additions and 2 deletions

View file

@ -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+)$/