diff options
author | dmitry kim <jason@nichego.net> | 2008-03-12 02:52:53 +0300 |
---|---|---|
committer | dmitry kim <jason@nichego.net> | 2008-03-12 02:52:53 +0300 |
commit | 15846be1af87eefbb2d339c4c28ffbc9c1268d6a (patch) | |
tree | 34ba61b16357c092b6d6003cbc4d3b7dc2bb580c /lib/rbot | |
parent | 539c526cf8ec0b4b07d84541cd3ce27d08ac946b (diff) |
* we're now "git version", not "svn version" by default
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/rbotconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/rbotconfig.rb b/lib/rbot/rbotconfig.rb index 1c10e5af..97f8173e 100644 --- a/lib/rbot/rbotconfig.rb +++ b/lib/rbot/rbotconfig.rb @@ -28,7 +28,7 @@ class Bot debug "trying to load rubygems" require 'rubygems' debug "loaded rubygems, looking for rbot-#$version" - if $version =~ /(.*)-svn\Z/ + if $version =~ /(.*)-(svn|git)\Z/ version = $1 else version = $version |