summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-12-11 04:35:04 +0000
committerkris <kris@FreeBSD.org>2005-12-11 04:35:04 +0000
commit34cea54d64e9f74216926fc1cd10eb6d8f78cfe1 (patch)
tree72d079b28254bc857af8317b9a1e96aae5897204 /Tools
parentd211a890b298f7af9b648f8b88519a6dbe08f4f0 (diff)
downloadFreeBSD-ports-34cea54d64e9f74216926fc1cd10eb6d8f78cfe1.zip
FreeBSD-ports-34cea54d64e9f74216926fc1cd10eb6d8f78cfe1.tar.gz
Don't use a lockfile, the script will be called with lockf -t0 instead
to avoid problems with stale lockfiles after reboots.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/processfail6
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail
index 587dc25..11c3c95 100755
--- a/Tools/portbuild/scripts/processfail
+++ b/Tools/portbuild/scripts/processfail
@@ -11,14 +11,9 @@ of=/usr/local/www/data/errorlogs/.${arch}-${branch}-failure.html
cd ${pb}/${arch}/${branch}
-find $of .failure.html.lock -mmin +60 -delete 2>/dev/null
-
-if [ -f $of -o -f .failure.html.lock ]; then exit; fi
-
if [ -e .newfailure.stamp -a $(echo $(find . -maxdepth 1 -newer .newfailure.stamp -name newfailure 2>&1 /dev/null | wc -l)) = "0" ]; then exit; fi
touch .newfailure.stamp
-touch .failure.html.lock
newfailure=${pb}/${arch}/${branch}/newfailure
num=$(wc -l ${newfailure} | awk '{print $1}')
@@ -72,5 +67,4 @@ while read dir name ver date last count; do
echo "</tr>" >> $of
done < newfailure
footer ""
-rm .failure.html.lock
mv -f $of /usr/local/www/data/errorlogs/${arch}-${branch}-failure.html
OpenPOWER on IntegriCloud