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

Andreas Tille tille at debian.org
Tue Jul 16 20:34:25 UTC 2013


The following commit has been merged in the master branch:
commit d70b18127b602f4cc502e7ed50ccba72f9e66b71
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jul 16 22:28:33 2013 +0200

    Silence ls when checking for left over tempfiles and we do not have permission anyway

diff --git a/misc/machine_readable/fetch-machine-readable b/misc/machine_readable/fetch-machine-readable
index 19897ca..f905243 100755
--- a/misc/machine_readable/fetch-machine-readable
+++ b/misc/machine_readable/fetch-machine-readable
@@ -175,6 +175,6 @@ cd ..
 tar -cjf $MACHINEREADABLEARCHIVE $TDNAME
 
 # Check for remaining tempfiles
-if ls -l /tmp/tmp.* | grep `whoami` > /dev/null ; then
+if ls -l /tmp/tmp.* 2>/dev/null | grep `whoami` > /dev/null ; then
     echo "There are tempfiles remaining!\n" | mailx -s "$0 has left some remaining files in /tmp" tille at debian.org
 fi

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list