[Blends-commit] [SCM] website branch, master, updated. 1a1c6fb33d997b1cbbce08a48f1ea95b9877b9e7
Andreas Tille
tille at debian.org
Fri Nov 9 10:50:34 UTC 2012
The following commit has been merged in the master branch:
commit 1a1c6fb33d997b1cbbce08a48f1ea95b9877b9e7
Author: Andreas Tille <tille at debian.org>
Date: Fri Nov 9 11:48:55 2012 +0100
Inspect reason why some tempfiles were left on Alioth (Alioth admins deactivated cron job due to > 100 tmpfile leftovers)
diff --git a/misc/machine_readable/fetch-machine-readable b/misc/machine_readable/fetch-machine-readable
index 9d396db..89ba714 100755
--- a/misc/machine_readable/fetch-machine-readable
+++ b/misc/machine_readable/fetch-machine-readable
@@ -131,6 +131,7 @@ git_checkout_machine_readable () {
else
echo "Can not find debian/changelog in $1" >> $ERRLOG
fi
+ rm -f $TMPCHLOG
cd $curdir
}
@@ -161,3 +162,9 @@ rm -f $MACHINEREADABLEARCHIVE
cd $TARGETDIR
cd ..
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/^.* //'
+fi
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list