diff options
Diffstat (limited to 'scripts/test-dependencies.sh')
| -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() { | |||
| 244 | else | 244 | else |
| 245 | missing_deps= | 245 | missing_deps= |
| 246 | for dep in ${max_deps}; do | 246 | for dep in ${max_deps}; do |
| 247 | echo "${min_deps}" | grep -q " ${dep} " || missing_deps="${missing_deps} ${dep}" | 247 | if ! echo "${min_deps}" | grep -q " ${dep} " ; then |
| 248 | echo # to get rid of dots on last line | 248 | missing_deps="${missing_deps} ${dep}" |
| 249 | echo "WARN: ${recipe}: ${package} rdepends on ${dep} but its not a build dependency?" | tee -a ${OUTPUT_FILE} | 249 | echo # to get rid of dots on last line |
| 250 | echo "WARN: ${recipe}: ${package} rdepends on ${dep}, but it isn't a build dependency?" | tee -a ${OUTPUT_FILE} | ||
| 251 | fi | ||
| 250 | done | 252 | done |
| 251 | if [ -n "${missing_deps}" ] ; then | 253 | if [ -n "${missing_deps}" ] ; then |
| 252 | echo ${recipe} >> ${OUTPUTC}/failed-recipes.log | 254 | echo ${recipe} >> ${OUTPUTC}/failed-recipes.log |
