Ahiknsr / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

ratproxy-report.sh fails when run from any directory other than the ratproxy install dir #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ratproxy-report.sh assumes that messages.list is in the current directory. The 
attached patch uses 
dirname to determine where ratproxy-report.sh is installed & use message.list 
from that location 
(presumably at some point it would make sense to separate the html content into 
a template which 
could live in some share directory along with message.list & other support 
files)

Original issue reported on code.google.com by adamsc@gmail.com on 14 Jul 2008 at 6:09

Attachments:

GoogleCodeExporter commented 9 years ago
In the initial release, ratproxy simply does not support installation outside 
of ./;
but I intend to include the ability to do this in the upcoming releases - 
thanks for
the patch.

Original comment by lcam...@gmail.com on 15 Jul 2008 at 8:44

GoogleCodeExporter commented 9 years ago
I am able to run ratproxy-report.sh outside of ./ today. I assume this was 
fixed?

Original comment by steve.mi...@gmail.com on 11 Jun 2009 at 6:34

GoogleCodeExporter commented 9 years ago
我看不懂

Original comment by herot...@163.com on 29 Jul 2009 at 8:06