summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to '')
-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