Skip to content

Commit

Permalink
Fix ticket:150 Rakefile will now get correct svn revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Maltese committed Mar 11, 2008
1 parent fcb29f2 commit ee1a1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require 'fileutils'
include FileUtils

NAME = "camping"
REV = File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil
REV = File.read(".svn/entries").split("\n")[3] rescue nil
VERS = ENV['VERSION'] || ("1.5" + (REV ? ".#{REV}" : ""))
CLEAN.include ['**/.*.sw?', '*.gem', '.config', 'test/test.log', '.*.pt']
RDOC_OPTS = ['--quiet', '--title', "Camping, the Documentation",
Expand Down

0 comments on commit ee1a1f3

Please sign in to comment.