From 232aea721c0e7cb007218924ee20272ba5e3ebbc Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 17 Mar 2003 04:20:19 +0000 Subject: [PATCH] Moved the doc/report.sh script to doc/report.sh.tmpl file. The script is then updated by the make procedure to reflect the correct location of the tinyproxy executable. --- doc/{report.sh => report.sh.tmpl} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename doc/{report.sh => report.sh.tmpl} (69%) mode change 100755 => 100644 diff --git a/doc/report.sh b/doc/report.sh.tmpl old mode 100755 new mode 100644 similarity index 69% rename from doc/report.sh rename to doc/report.sh.tmpl index 0c4a0d8..f964000 --- a/doc/report.sh +++ b/doc/report.sh.tmpl @@ -1,5 +1,7 @@ #!/bin/sh +TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy + (echo "date: " date echo "uname: " @@ -7,8 +9,8 @@ uname -a echo "ps: " ps -auxw | grep '[t]inyproxy' - echo "ver: " -if [ -x /usr/local/bin/tinyproxy ]; then - /usr/local/bin/tinyproxy -v +if [ -x $TINYPROXY_BIN ]; then + $TINYPROXY_BIN -v else echo no ver available. fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net