From 1f69c4404a3c443eccc3daaccf85ae129ca42c5d Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Thu, 15 Apr 2021 10:58:42 -0700 Subject: [PATCH] Fix bug: repeated restricted effective conditions. Test: m all Change-Id: I0fc8f66dd72e3d3983b9d2b5fa7416c09a776ccc --- tools/build-license-metadata.sh | 1 + 1 file changed, 1 insertion(+) 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 ;;