diff --git a/tools/build-license-metadata.sh b/tools/build-license-metadata.sh index 3bad358dba..a138dbe7c4 100755 --- a/tools/build-license-metadata.sh +++ b/tools/build-license-metadata.sh @@ -201,6 +201,7 @@ calculate_effective_conditions() { for d in ${depfiles}; do if cat "${d}" | egrep -q 'effective_condition\s*:.*restricted' ; then lconditions="${lconditions}${lconditions:+ }restricted" + break fi done ;;