diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-08-29 08:22:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-08-29 08:22:39 +0000 |
commit | c867f8186d640c38c5701a7749252845848d4cc9 (patch) | |
tree | 9203d58efbff73fb3854d1440722c79d1ac14bb6 /Tools/portbuild/scripts/buildscript | |
parent | 04694e899017de7c20c8433680eee420357397cb (diff) | |
download | ports-c867f8186d640c38c5701a7749252845848d4cc9.tar.gz ports-c867f8186d640c38c5701a7749252845848d4cc9.zip |
Notes
Diffstat (limited to 'Tools/portbuild/scripts/buildscript')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index ac1026de45da..a38f59871d46 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -59,10 +59,10 @@ else mtreefile=$(make -V MTREE_FILE) echo "================================================================" echo "checking installed files" - find ${prefix} -perm -2000 -o -perm -4000 -o -perm -0002 -ls | sort > /tmp/list1 + find ${prefix} \( \( -perm -4000 -o -perm -2000 -a \! -type d \) -o \( -perm -0002 -o -perm -0020 \) \) -a \! -type l -ls | sort > /tmp/list1 echo "pkg_delete ${pkgname}" pkg_delete ${pkgname} - find ${prefix} -perm -2000 -o -perm -4000 -o -perm -0002 -ls | sort > /tmp/list2 + find ${prefix} \( \( -perm -4000 -o -perm -2000 -a \! -type d \) -o \( -perm -0002 -o -perm -0020 \) \) -a \! -type l -ls | sort > /tmp/list2 if ! diff -qb /tmp/list1 /tmp/list2 2>/dev/null; then echo "================================================================" echo "found set[ug]id or world-writable files and directories" |