diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-12-11 04:35:04 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-12-11 04:35:04 +0000 |
commit | 1ace35e972cbd1239e17dd152ae0b7f9fa227b69 (patch) | |
tree | f16675dd7b7402488d2b7971eccfd094f588f233 /Tools | |
parent | ba996790a47b10e5af628587b96c087a3728097f (diff) | |
download | ports-1ace35e972cbd1239e17dd152ae0b7f9fa227b69.tar.gz ports-1ace35e972cbd1239e17dd152ae0b7f9fa227b69.zip |
Don't use a lockfile, the script will be called with lockf -t0 instead
to avoid problems with stale lockfiles after reboots.
Notes
Notes:
svn path=/head/; revision=150850
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processfail | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/processfail b/Tools/portbuild/scripts/processfail index 587dc256b102..11c3c9573eea 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 |