also catch leading null runpaths
authorMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2006 02:38:25 +0000 (02:38 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2006 02:38:25 +0000 (02:38 -0000)
svn path=/main/trunk/; revision=2567

bin/ebuild.sh

index 2d0a2b29cdfa4f4c39bfb417aa59da577c93cf34..0ccd616c45ccafe8f41706775fe2b6341d84bc34 100755 (executable)
@@ -1033,7 +1033,7 @@ dyn_install() {
                # Don't want paths that point to the tree where the package was built
                # (older, broken libtools would do this).  Also check for null paths
                # because the loader will search $PWD when it finds null paths.
-               f=$(scanelf -qyRF '%r %p' "${D}" | grep -E "(${PORTAGE_BUILDDIR}|: |::|^ )")
+               f=$(scanelf -qyRF '%r %p' "${D}" | grep -E "(${PORTAGE_BUILDDIR}|: |::|^:|^ )")
                if [[ -n ${f} ]] ; then
                        echo -ne '\a\n'
                        echo "QA Notice: the following files contain insecure RUNPATH's"