From 4c1d25eb8c40d05d1da0cf6da9f0b73e57fa63e1 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 22 Feb 2010 19:59:39 +0000 Subject: [PATCH] add missing leading slash to path component, such that it will match with PATH svn path=/main/branches/prefix/; revision=15436 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]}" \ -- 2.26.2