]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
* launch_here.rb: patch $0 to make restart work
authordmitry kim <jason@nichego.net>
Wed, 11 Jun 2008 19:51:32 +0000 (23:51 +0400)
committerdmitry kim <jason@nichego.net>
Wed, 11 Jun 2008 19:53:34 +0000 (23:53 +0400)
launch_here.rb

index 02ba7c8f0ceb43bbaec472b2ddefa1b4b30660dd..95d383ba4f5300a5cd241db2c7dcd2bedf22b713 100755 (executable)
@@ -4,6 +4,7 @@
 #
 
 SCM_DIR = File.expand_path File.dirname(__FILE__)
+$0 = File.expand_path $0
 
 Dir.chdir SCM_DIR