summaryrefslogtreecommitdiff
path: root/launch_here.rb
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 /launch_here.rb
parent539c526cf8ec0b4b07d84541cd3ce27d08ac946b (diff)
* we're now "git version", not "svn version" by default
Diffstat (limited to 'launch_here.rb')
-rwxr-xr-xlaunch_here.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/launch_here.rb b/launch_here.rb
index 033e075f..80d6c39c 100755
--- a/launch_here.rb
+++ b/launch_here.rb
@@ -3,18 +3,18 @@
# Load rbot from this directory. (No need to install it with setup.rb)
#
-SVN_DIR = File.expand_path(File.dirname('__FILE__'))
-puts "Running from #{SVN_DIR}"
+SCM_DIR = File.expand_path(File.dirname('__FILE__'))
+puts "Running from #{SCM_DIR}"
-$:.unshift File.join(SVN_DIR, 'lib')
+$:.unshift File.join(SCM_DIR, 'lib')
module Irc
class Bot
module Config
- @@datadir = File.join SVN_DIR, 'data/rbot'
- @@coredir = File.join SVN_DIR, 'lib/rbot/core'
+ @@datadir = File.join SCM_DIR, 'data/rbot'
+ @@coredir = File.join SCM_DIR, 'lib/rbot/core'
end
end
end
-load File.join(SVN_DIR, 'bin/rbot')
+load File.join(SCM_DIR, 'bin/rbot')