Merge "Fix bug: repeated restricted effective conditions."

This commit is contained in:
Treehugger Robot 2021-04-15 21:51:20 +00:00 committed by Gerrit Code Review
commit b2233cf162
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
;;