aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-07-14 10:42:40 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-07-14 10:42:40 +0000
commitf8194e5412dee0258e17d4055c104f639092df4c (patch)
treeaadc81d5f189f3c834107a516eda4a9d4dd24839 /Tools
parentfaec39b50ebef64b427304f6694407315060e241 (diff)
downloadports-f8194e5412dee0258e17d4055c104f639092df4c.tar.gz
ports-f8194e5412dee0258e17d4055c104f639092df4c.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.
Notes
Notes: svn path=/head/; revision=113625
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