From bd5b023fcefc39ebca7072d4eba57ee86818e33c Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 21 Feb 2011 03:08:30 +0100 Subject: [PATCH] Better 00-debug.sh --- purple/answerscripts.d/00-debug.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.30.2