summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-03-12 02:52:53 +0300
committerdmitry kim <jason@nichego.net>2008-03-12 02:52:53 +0300
commit15846be1af87eefbb2d339c4c28ffbc9c1268d6a (patch)
tree34ba61b16357c092b6d6003cbc4d3b7dc2bb580c /lib/rbot
parent539c526cf8ec0b4b07d84541cd3ce27d08ac946b (diff)
* we're now "git version", not "svn version" by default
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/rbotconfig.rb2
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