mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
Increase cleanup timeout to 5 days from 48 hours, the openoffice builds
now regularly take longer than this :(
This commit is contained in:
parent
30a0a98376
commit
56b6a0b170
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185415
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user