aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-07-14 18:42:40 +0800
committerkris <kris@FreeBSD.org>2004-07-14 18:42:40 +0800
commitfba5bb909f7533f1dd8e156fb06a3281b191a494 (patch)
treec29887d8bae351511a89ca59f12dcb01e02f2627 /Tools
parent1ac2de2169f916ae8eee052ff5c127f65462f69b (diff)
downloadfreebsd-ports-gnome-fba5bb909f7533f1dd8e156fb06a3281b191a494.tar.gz
freebsd-ports-gnome-fba5bb909f7533f1dd8e156fb06a3281b191a494.tar.zst
freebsd-ports-gnome-fba5bb909f7533f1dd8e156fb06a3281b191a494.zip
Bump up the cleanup timeout to directories that have been in use for
>48 hours, to cope with monster ports like openoffice and atlas.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/cleanup-chroots6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/cleanup-chroots b/Tools/portbuild/scripts/cleanup-chroots
index 4caae9c91216..421ef3e84406 100755
--- a/Tools/portbuild/scripts/cleanup-chroots
+++ b/Tools/portbuild/scripts/cleanup-chroots
@@ -20,11 +20,11 @@ fi
for i in ${old}; do
if [ ! -d ${i}/used ]; then
old2="${i} ${old2}"
- # Also remove "in use" chroots that were set up more than 24 hours ago
- elif [ ! -z "`find $i/used -prune -mmin +1440`" ]; then
+ # Also remove "in use" chroots that were set up more than 48 hours ago
+ elif [ ! -z "`find $i/used -prune -mmin +2880`" ]; then
echo "cleanup-chroots: Found old files on `hostname`:"
ls -l ${i}/tmp ${i}/used
- echo "${i} allegedly in use but >24 hours old"
+ echo "${i} allegedly in use but >48 hours old"
old2="${i} ${old2}"
fi
done