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

View file

@ -201,6 +201,7 @@ calculate_effective_conditions() {
for d in ${depfiles}; do for d in ${depfiles}; do
if cat "${d}" | egrep -q 'effective_condition\s*:.*restricted' ; then if cat "${d}" | egrep -q 'effective_condition\s*:.*restricted' ; then
lconditions="${lconditions}${lconditions:+ }restricted" lconditions="${lconditions}${lconditions:+ }restricted"
break
fi fi
done done
;; ;;