diff options
author | 2005-05-31 22:44:32 +0000 | |
---|---|---|
committer | 2005-05-31 22:44:32 +0000 | |
commit | debc2de054a469cb9012c1caab7513d4f5ce5b5e (patch) | |
tree | 9a41879358e9e1c23471e30b353b236010cd1f3f /bin | |
parent | add status banners to compile/package steps (diff) | |
download | portage-cvs-debc2de054a469cb9012c1caab7513d4f5ce5b5e.tar.gz portage-cvs-debc2de054a469cb9012c1caab7513d4f5ce5b5e.tar.bz2 portage-cvs-debc2de054a469cb9012c1caab7513d4f5ce5b5e.zip |
make sure we filter $D when searching for $BUILDDIR in scanelf RPATH output
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild-default-functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-default-functions.sh b/bin/ebuild-default-functions.sh index 48746e0..7b7721b 100755 --- a/bin/ebuild-default-functions.sh +++ b/bin/ebuild-default-functions.sh @@ -2,7 +2,7 @@ # ebuild-default-functions.sh; default functions for ebuild env that aren't saved- specific to the portage instance. # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/ebuild-default-functions.sh,v 1.28 2005/05/29 14:48:11 vapier Exp $ +# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/ebuild-default-functions.sh,v 1.29 2005/05/31 22:44:32 vapier Exp $ has_version() { # if there is a predefined portageq call, use it. @@ -432,7 +432,7 @@ dyn_install() { if type -p scanelf > /dev/null ; then # Make sure we disallow insecure RUNPATH/RPATH's - f=$(scanelf -qyRF '%r %F' "${D}" | grep "${PORTAGE_BUILDDIR}") + f=$(scanelf -qyRF '%r %F' "${D}" | sed -e "s:${D}::" | grep "${BUILDDIR}") if [[ -n ${f} ]] ; then echo -ne '\a\n' echo "QA Notice: the following files contain insecure RUNPATH's" |