summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2001-10-14 20:00:31 +0000
committerSatoshi Asami <asami@FreeBSD.org>2001-10-14 20:00:31 +0000
commitbae984c218222e2492ae7189a87b267dafa6714b (patch)
tree70ecb05e1c7ad5af838beff4aa6467c9bf1d725f /Tools
parentUpdate to 20011015, a stable maintenance release. (diff)
Add another check for duplicate installations of same port. Only
search for logs in toplevel directory. A couple of cosmetic changes.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/processlogs8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/processlogs b/Tools/portbuild/scripts/processlogs
index dc606fd41caf..bc1fc8ddd66d 100755
--- a/Tools/portbuild/scripts/processlogs
+++ b/Tools/portbuild/scripts/processlogs
@@ -7,7 +7,7 @@ find $of -mtime 2 -delete 2>/dev/null
if [ -f $of ]; then exit; fi
-if [ -e .stamp -a $(echo $(find . -newer .stamp -type f -name '*.log' 2>/dev/null | wc -l)) = "0" ]; then exit; fi
+if [ -e .stamp -a $(echo $(find . -maxdepth 1 -newer .stamp -type f -name '*.log' 2>/dev/null | wc -l)) = "0" ]; then exit; fi
echo "<html><head><title>Package building errors</title>" >$of
echo "<h1>Package building errors</h1>" >>$of
@@ -50,7 +50,7 @@ else
echo -n "<a href=\"mailto:$maint\">$maint</a>" >>$of
echo -n "</td><td>" >>$of
if grep -q 'list of extra files and directories' $1; then
- reason="extra"; tag="extra"
+ reason="mtree"; tag="mtree"
elif grep -q 'Checksum mismatch' $1; then
reason="checksum"; tag="checksum"
elif grep -qE '(No checksum recorded for|(Maybe|Either) .* is out of date, or)' $1; then
@@ -113,8 +113,10 @@ else
reason="PLIST"; tag="plist"
elif grep -q "Can't open display" $1; then
reason="DISPLAY"; tag="display"
+ elif grep -q " is already installed - perhaps an older version" $1; then
+ reason="depend object"; tag="dependobj"
elif grep -q "error in dependency .*, exiting" $1; then
- reason="dependency"; tag="dependency"
+ reason="depend package"; tag="dependpkg"
else
reason="???"; tag="unknown"
fi