From: Fabian Groffen Date: Fri, 19 Jun 2009 19:34:38 +0000 (-0000) Subject: be a bit more precise X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=19daede6e4e22190c02d3dee1a8084434b8c13d2;p=portage.git be a bit more precise svn path=/main/branches/prefix/; revision=13654 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 10a1a730e..10eb74152 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -438,7 +438,7 @@ install_qa_check() { # this is ugly, paths with spaces won't work reevaluate=0 for lib in $(echo ${needed} | tr , ' '); do - if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != *"@executable_path"* && *${lib} != *"@loader_path"* ]] ; then + if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && *${lib} != "@loader_path/"* ]] ; then # try to "repair" this if possible, happens because of # gen_usr_ldscript tactics s=${lib%usr/*}${lib##*/usr/}