Fix bug: repeated restricted effective conditions.

Test: m all
Change-Id: I0fc8f66dd72e3d3983b9d2b5fa7416c09a776ccc
This commit is contained in:
Bob Badour 2021-04-15 10:58:42 -07:00
parent 71c7048593
commit 1f69c4404a
1 changed files with 1 additions and 0 deletions

View File

@ -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
;;