summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-17 04:20:19 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-17 04:20:19 +0000
commit232aea721c0e7cb007218924ee20272ba5e3ebbc (patch)
tree5bb3019bcf42b1e0d869c304a319b9fb7f09e311 /doc
parentd2c9ffac237a7d48db06fa52585dfe8565b61be8 (diff)
downloadtinyproxy-232aea721c0e7cb007218924ee20272ba5e3ebbc.tar.gz
tinyproxy-232aea721c0e7cb007218924ee20272ba5e3ebbc.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--[-rwxr-xr-x]doc/report.sh.tmpl (renamed from doc/report.sh)6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/report.sh b/doc/report.sh.tmpl
index 0c4a0d8..f964000 100755..100644
--- 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