mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 09:18:50 +01:00
fix for #673. Reporting revision number from TRACKS_ROOT instead of the current directory. To use this fix if you're using rc1 / trunk, you need to recreate your environment.rb
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@746 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
7173b121d6
commit
bde47e44c7
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ end
|
|||
MOBILE_CONTENT_TYPE = 'tracks/mobile'
|
||||
Mime::Type.register(MOBILE_CONTENT_TYPE, :m)
|
||||
|
||||
info = `svn info --config-dir /etc/subversion`[/Last Changed Rev: (.*?)\n/]
|
||||
info = `svn info #{RAILS_ROOT} --config-dir /etc/subversion`[/Last Changed Rev: (.*?)\n/]
|
||||
if info
|
||||
TRACKS_VERSION = '1.50-rc1-rev'+info[/(\d+)/]
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue