[Blends-commit] [SCM] website branch, master, updated. bf4f643493c44139e94c93cf1d0916a85ee2019a

Andreas Tille tille at debian.org
Mon Nov 12 13:06:29 UTC 2012


The following commit has been merged in the master branch:
commit bf4f643493c44139e94c93cf1d0916a85ee2019a
Author: Andreas Tille <tille at debian.org>
Date:   Mon Nov 12 14:06:22 2012 +0100

    Send mail in case there are remaining tempfiles

diff --git a/misc/machine_readable/fetch-machine-readable b/misc/machine_readable/fetch-machine-readable
index 89ba714..94e5ec6 100755
--- a/misc/machine_readable/fetch-machine-readable
+++ b/misc/machine_readable/fetch-machine-readable
@@ -165,6 +165,5 @@ tar -cjf $MACHINEREADABLEARCHIVE $TDNAME
 
 # Check for remaining tempfiles
 if ls -l /tmp/tmp.* | grep `whoami` > /dev/null ; then
-    echo "There are tempfiles remaining!"
-    ls -l /tmp/tmp.* | grep `whoami` | sed 's/^.* //'
+    echo "There are tempfiles remaining!\n" `ls -l /tmp/tmp.* | grep `whoami` | sed 's/^.* //'` | mailx -s "$0 has left some remaining files" tille at debian.org
 fi

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list