From: Harvie Date: Mon, 21 Feb 2011 02:08:30 +0000 (+0100) Subject: Better 00-debug.sh X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=bd5b023fcefc39ebca7072d4eba57ee86818e33c;p=mirrors%2Flibpurple-core-answerscripts.git Better 00-debug.sh --- diff --git a/purple/answerscripts.d/00-debug.sh b/purple/answerscripts.d/00-debug.sh index 5509b65..de7c549 100755 --- a/purple/answerscripts.d/00-debug.sh +++ b/purple/answerscripts.d/00-debug.sh @@ -1,4 +1,7 @@ #!/bin/sh #Debug -echo "<$ANSW_PROTOCOL/$ANSW_FROM> $ANSW_MSG" >&2; -echo "($ANSW_STATUS: $ANSW_STATUS_MSG)" >&2; +( +echo "DATE: $(date)"; +env | grep '^ANSW_'; +echo ============================================= +) >&2;