summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tool/file2lastrev.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 09bedb241c..e3adaa1a39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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+)$/