Mercurial > hgrepos > hgweb.cgi > xsotter
changeset 11:4dcbbfa7f191
Detect xsotter_class via .
author | yuuji@gentei.org |
---|---|
date | Sat, 11 Feb 2012 12:48:07 +0900 |
parents | 83a2c410b901 |
children | 42e9379d8c1d |
files | xsotter_mail.rb |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xsotter_mail.rb Fri Feb 10 15:43:37 2012 +0900 +++ b/xsotter_mail.rb Sat Feb 11 12:48:07 2012 +0900 @@ -1,7 +1,8 @@ #!/home/irhome/c109/c109047/sun4v/ruby/bin/ruby # -*- coding: euc-jp -*- -require '/home/irhome/c109/c109047/xsotter/xsotter_class' +$LOAD_PATH.unshift(File.dirname($0)) +require 'xsotter_class' sender = ENV['SENDER'] rcpt = ENV['RECIPIENT']