From: genone Date: Fri, 23 Jan 2004 04:17:47 +0000 (-0000) Subject: added patch for profile dependencies (see bug 35885) X-Git-Tag: gentoolkit-0.2.4.3~432 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73c29428db862de1c013e5d54ee404e44ed77d65;p=gentoolkit.git added patch for profile dependencies (see bug 35885) svn path=/; revision=70 --- diff --git a/trunk/src/qpkg/qpkg b/trunk/src/qpkg/qpkg index fafb62e..31b2e7f 100644 --- a/trunk/src/qpkg/qpkg +++ b/trunk/src/qpkg/qpkg @@ -410,7 +410,7 @@ for p in ${ipak} ${upak} -;do for flag in $(< ${deppkg}/USE) do if [[ "${flag:0:1}" == "-" ]]; then - rdepend=$(echo ${rdepend} | sed "s/${flag:1}? ( [[:alnum:][:punct:]]* )//") + rdepend="$(echo ${rdepend} | sed 's/${flag:1}? ( [[:alnum:][:punct:]]* )//')" fi done @@ -421,9 +421,9 @@ for p in ${ipak} ${upak} -;do else grep -R "${package}" /var/db/pkg/*/*/RDEPEND | \ cut -f5,6 -d"/" | sed -e "s:^:\t${color}:;s:$:${NO}:" | sort -u - if [[ $(grep -R "*${package}" /etc/make.profile/packages) != "" ]]; then - echo -e "\t${color}SYSTEM PROFILE${NO}" - fi + fi + if [[ $(grep -R "*${package}" /etc/make.profile/packages) != "" ]]; then + echo -e "\t${color}SYSTEM PROFILE${NO}" fi fi