From: Fabian Groffen Date: Sun, 24 Oct 2010 12:56:33 +0000 (+0200) Subject: don't match libs which have @loader_path in the middle X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c03d46e367aeef7e982743fff81f5c8726ea7fd3;p=portage.git don't match libs which have @loader_path in the middle --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2396c1a49..0a900ab9a 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -917,7 +917,7 @@ install_qa_check_macho() { # this is ugly, paths with spaces won't work reevaluate=0 for lib in ${needed//,/ } ; 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/}