be a bit more precise
authorFabian Groffen <grobian@gentoo.org>
Fri, 19 Jun 2009 19:34:38 +0000 (19:34 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 19 Jun 2009 19:34:38 +0000 (19:34 -0000)
svn path=/main/branches/prefix/; revision=13654

bin/misc-functions.sh

index 10a1a730efd5e14c9591b77de4bbea7be0a77c05..10eb74152bb7dab8105d64af55335c4ca3f39d3f 100644 (file)
@@ -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/}