From 15846be1af87eefbb2d339c4c28ffbc9c1268d6a Mon Sep 17 00:00:00 2001 From: dmitry kim Date: Wed, 12 Mar 2008 02:52:53 +0300 Subject: * we're now "git version", not "svn version" by default --- launch_here.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'launch_here.rb') 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') -- cgit v1.2.3