diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-08-09 18:07:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 11:14:08 +0100 |
commit | b73e6159aed1a9768d02d12e7894ca0f1e72be69 (patch) | |
tree | 63218f52b988a9199db1a61076579c1fc0b7ee6f /scripts | |
parent | c8268bbafc338cf73c5488df9839a241a3cb6ab4 (diff) | |
download | openembedded-core-b73e6159aed1a9768d02d12e7894ca0f1e72be69.tar.gz openembedded-core-b73e6159aed1a9768d02d12e7894ca0f1e72be69.tar.bz2 openembedded-core-b73e6159aed1a9768d02d12e7894ca0f1e72be69.zip |
test-dependencies, insane.bbclass: improve the message
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-dependencies.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh index ecbb710c6b..2bcc2ca4f6 100755 --- a/scripts/test-dependencies.sh +++ b/scripts/test-dependencies.sh @@ -244,9 +244,11 @@ compare_deps() { else missing_deps= for dep in ${max_deps}; do - echo "${min_deps}" | grep -q " ${dep} " || missing_deps="${missing_deps} ${dep}" - echo # to get rid of dots on last line - echo "WARN: ${recipe}: ${package} rdepends on ${dep} but its not a build dependency?" | tee -a ${OUTPUT_FILE} + if ! echo "${min_deps}" | grep -q " ${dep} " ; then + missing_deps="${missing_deps} ${dep}" + echo # to get rid of dots on last line + echo "WARN: ${recipe}: ${package} rdepends on ${dep}, but it isn't a build dependency?" | tee -a ${OUTPUT_FILE} + fi done if [ -n "${missing_deps}" ] ; then echo ${recipe} >> ${OUTPUTC}/failed-recipes.log |