From: Fabian Groffen Date: Mon, 22 Feb 2010 19:59:39 +0000 (-0000) Subject: add missing leading slash to path component, such that it will match with PATH X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4c1d25eb8c40d05d1da0cf6da9f0b73e57fa63e1;p=portage.git add missing leading slash to path component, such that it will match with PATH svn path=/main/branches/prefix/; revision=15436 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2ff53f19e..9d34a2403 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -638,7 +638,7 @@ install_qa_check_prefix() { continue fi # all else is an error if the found script is in $PATH - local fp=${fn#${D}} ; fp=${fp%/*} + local fp=${fn#${D}} ; fp=/${fp%/*} if [[ ":${PATH}:" == *":${fp}:"* ]] || hasq stricter ${FEATURES} ; then echo "${fn#${D}}:${line[0]}" \