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.
This commit is contained in:
parent
d2c9ffac23
commit
232aea721c
6
doc/report.sh → doc/report.sh.tmpl
Executable file → Normal file
6
doc/report.sh → doc/report.sh.tmpl
Executable file → Normal file
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy
|
||||||
|
|
||||||
(echo "date: "
|
(echo "date: "
|
||||||
date
|
date
|
||||||
echo "uname: "
|
echo "uname: "
|
||||||
@ -7,8 +9,8 @@ uname -a
|
|||||||
echo "ps: "
|
echo "ps: "
|
||||||
ps -auxw | grep '[t]inyproxy' -
|
ps -auxw | grep '[t]inyproxy' -
|
||||||
echo "ver: "
|
echo "ver: "
|
||||||
if [ -x /usr/local/bin/tinyproxy ]; then
|
if [ -x $TINYPROXY_BIN ]; then
|
||||||
/usr/local/bin/tinyproxy -v
|
$TINYPROXY_BIN -v
|
||||||
else
|
else
|
||||||
echo no ver available.
|
echo no ver available.
|
||||||
fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net
|
fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net
|
Loading…
Reference in New Issue
Block a user