From 232aea721c0e7cb007218924ee20272ba5e3ebbc Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 17 Mar 2003 04:20:19 +0000 Subject: 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 | 14 -------------- doc/report.sh.tmpl | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 14 deletions(-) delete mode 100755 doc/report.sh create mode 100644 doc/report.sh.tmpl diff --git a/doc/report.sh b/doc/report.sh deleted file mode 100755 index 0c4a0d8..0000000 --- a/doc/report.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -(echo "date: " -date -echo "uname: " -uname -a -echo "ps: " -ps -auxw | grep '[t]inyproxy' - -echo "ver: " -if [ -x /usr/local/bin/tinyproxy ]; then - /usr/local/bin/tinyproxy -v -else - echo no ver available. -fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net diff --git a/doc/report.sh.tmpl b/doc/report.sh.tmpl new file mode 100644 index 0000000..f964000 --- /dev/null +++ b/doc/report.sh.tmpl @@ -0,0 +1,16 @@ +#!/bin/sh + +TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy + +(echo "date: " +date +echo "uname: " +uname -a +echo "ps: " +ps -auxw | grep '[t]inyproxy' - +echo "ver: " +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 -- cgit v1.2.3