aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-02-12 11:34:21 +0800
committerkris <kris@FreeBSD.org>2005-02-12 11:34:21 +0800
commited72c6bbe2575f567b39bed997492598e50205c6 (patch)
treebae2faf8191b5fa366377cab9cfa146588316cee /Tools/portbuild
parent3ad6906d9f2b433264076dcf901c3c51633f4a83 (diff)
downloadfreebsd-ports-graphics-ed72c6bbe2575f567b39bed997492598e50205c6.tar.gz
freebsd-ports-graphics-ed72c6bbe2575f567b39bed997492598e50205c6.tar.zst
freebsd-ports-graphics-ed72c6bbe2575f567b39bed997492598e50205c6.zip
Update the plist checking to look for a subset of files and weed out some
false positives.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/buildscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript
index 76b14f0a9e8..6f7f42a8742 100755
--- a/Tools/portbuild/scripts/buildscript
+++ b/Tools/portbuild/scripts/buildscript
@@ -156,6 +156,8 @@ else
./root/*
./var/*
./tmp/*
+./etc/make.conf.bak
+./etc/make.conf
EOF
mtree -X /tmp/mtree.exclude -xcn -k uid,gid,mode -p / > /tmp/mtree
cd $dir
@@ -173,9 +175,12 @@ EOF
grep ' missing$' /tmp/list3 > /tmp/list5
grep -vE ' (extra|missing)$' /tmp/list3 > /tmp/list6
if [ "x${PLISTCHECK}" != "x" ]; then
- if grep -qE 'usr/(local|X11R6)/(bin|sbin|share/doc|share/locale/|lib/lib)' /tmp/list4; then
+ if grep -qE 'usr/(local|X11R6)/(bin/|include/|man/|sbin/|share/|share/|lib/|libdata/|libexec/)' /tmp/list4; then
echo "1" > /tmp/status
fi
+ if [ -s /tmp/list5 ]; then
+ echo "1" > /tmp/status
+ fi
fi
echo "================================================================"
fi