[debian-edu-commits] debian-edu/ 01/02: add some more debugging

Holger Levsen holger at layer-acht.org
Sun Aug 7 06:42:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository debian-edu-doc.

commit 41c0dea5fcc75d75f57f5510c95d8d0483c6229b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 7 08:41:22 2016 +0200

    add some more debugging
---
 debian/mail_stats_to_list | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/mail_stats_to_list b/debian/mail_stats_to_list
index 660b454..c217c09 100755
--- a/debian/mail_stats_to_list
+++ b/debian/mail_stats_to_list
@@ -26,11 +26,12 @@
 #   23 1 8-14 * 0 test `/bin/date +\%w` -eq 0 && /home/holger/debian-edu-doc/debian/mail_stats_to_list
 #   23 1 22-28 * 0 test `/bin/date +\%w` -eq 0 && /home/holger/debian-edu-doc/debian/mail_stats_to_list all
 
+set -x
 cd ~holger/debian-edu-doc
 git pull > /dev/null 2>&1 && git status 2>&1
 RESULT=$?
 if [ $RESULT -ne 0 ] ; then
-	echo "Problem with git clone at paradis.debian.org:~holger/debian-edu-doc - please fix." | mail -s "problem with debian-edu-doc status mails" holger at layer-acht.org
+	echo "Problem with git clone (status '$RESULT') at paradis.debian.org:~holger/debian-edu-doc - please fix." | mail -s "problem with debian-edu-doc status mails" holger at layer-acht.org
 	exit 1
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list