aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:53:21 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:53:21 +0800
commitf2b422b63daec9b3096a769502341d35f3628817 (patch)
tree7f46b3626a031f0ddf34428fecfca79ca293ea3d /Tools
parentff549bd0adb43eba6a453a31ab1507f15d5f829c (diff)
downloadfreebsd-ports-gnome-f2b422b63daec9b3096a769502341d35f3628817.tar.gz
freebsd-ports-gnome-f2b422b63daec9b3096a769502341d35f3628817.tar.zst
freebsd-ports-gnome-f2b422b63daec9b3096a769502341d35f3628817.zip
Increase cleanup timeout to 5 days from 48 hours, the openoffice builds
now regularly take longer than this :(
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 e2b8e1ceefbb..48a9f893e5e4 100755
--- a/Tools/portbuild/scripts/cleanup-chroots
+++ b/Tools/portbuild/scripts/cleanup-chroots
@@ -52,11 +52,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 48 hours ago
- elif [ ! -z "`find $i/used -prune -mmin +2880`" ]; then
+ # Also remove "in use" chroots that were set up more than 5 days ago
+ elif [ ! -z "`find $i/used -prune -mmin +7200`" ]; then
echo "cleanup-chroots: Found old files on `hostname`:"
ls -l ${i}/tmp ${i}/used
- echo "${i} allegedly in use but >48 hours old"
+ echo "${i} allegedly in use but >5 days old"
old2="${i} ${old2}"
fi
done