summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-15 11:45:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-15 11:45:01 +0000
commit1084032fb48e8efb101cdb8d72b513b14bc965b0 (patch)
treeff2e488e0e81dd38c3b640afa4a099e8a672da6b /tool
parent80088a55fc964c60fdbc18960775c209d11f1488 (diff)
* tool/file2lastrev.rb: RUBY_REVISION must be an integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/file2lastrev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index ea11304703a..ddc83e86310 100644
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -82,7 +82,7 @@ case $output
when :changed, nil
puts changed
when :revision_h
- puts "#define RUBY_REVISION #{changed}"
+ puts "#define RUBY_REVISION #{changed.to_i}"
when :doxygen
puts "r#{changed}/r#{last}"
else