Fix bug: repeated restricted effective conditions.
Test: m all Change-Id: I0fc8f66dd72e3d3983b9d2b5fa7416c09a776ccc
This commit is contained in:
parent
71c7048593
commit
1f69c4404a
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue