diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-12 05:56:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-12 05:56:37 +0000 |
commit | e94d768ad75ff6e99cfaa104298a891a1b0d1c91 (patch) | |
tree | e2785caa1a5270ea5d4d8b87c58cdc3c0ef10d76 /bin | |
parent | 7f6729c31272423d5ca2d711803f0c9ab7434885 (diff) | |
download | portage-e94d768ad75ff6e99cfaa104298a891a1b0d1c91.tar.gz portage-e94d768ad75ff6e99cfaa104298a891a1b0d1c91.tar.bz2 portage-e94d768ad75ff6e99cfaa104298a891a1b0d1c91.zip |
Use posix compatible find -perm arguments. Thanks to Timothy Redaelli
<drizzt@g.o> for reporting. (trunk r13067)
svn path=/main/branches/2.1.6/; revision=13081
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/misc-functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index e5de71340..f3da11272 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -75,8 +75,8 @@ install_qa_check() { f=$(scanelf -qyRF '%r %p' "${D}" | grep -E "(${PORTAGE_BUILDDIR}|: |::|^:|^ )") # Reject set*id binaries with $ORIGIN in RPATH #260331 x=$( - find "${D}" -type f -perm /6000 -print0 | xargs -0 \ - scanelf -qyRF '%r %p' | grep '$ORIGIN' + find "${D}" -type f \( -perm -u+s -o -perm -g+s \) -print0 | \ + xargs -0 scanelf -qyRF '%r %p' | grep '$ORIGIN' ) if [[ -n ${f}${x} ]] ; then vecho -ne '\a\n' |