]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - launch_here.rb
* plugins/search: thread, don't block
[user/henk/code/ruby/rbot.git] / launch_here.rb
index 033e075fd14729518811b2bbaf2d5c4d6fa0ad94..80d6c39cb87bd82bd80130f2c32aa916649e0797 100755 (executable)
@@ -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')