diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-23 06:49:39 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-23 06:49:39 +0000 |
commit | f173069a59389774ad06d9f4ee8395584cec5b3a (patch) | |
tree | 74c83500bffa65a6fdc768f2677b46a4ac0c5738 | |
parent | 916d811c9c3c471b6753baf8d6c0a6e42ae10f6f (diff) | |
download | ruby-f173069a59389774ad06d9f4ee8395584cec5b3a.tar.gz ruby-f173069a59389774ad06d9f4ee8395584cec5b3a.tar.xz ruby-f173069a59389774ad06d9f4ee8395584cec5b3a.zip |
* tool/file2lastrev.rb: shouldn't use single quote in shell's command
line if you want to support Windows.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tool/file2lastrev.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Dec 23 15:48:55 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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@yugui.jp> * lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537] diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 430aca673..73cc9997a 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+)$/ |