Changeset e5aa419d in rtems-source-builder


Ignore:
Timestamp:
Mar 11, 2021, 7:32:08 AM (5 months ago)
Author:
Ricardo Cárdenes <rcardenes@…>
Branches:
5
Children:
1b3f092
Parents:
d638f2b
git-author:
Ricardo Cárdenes <rcardenes@…> (03/11/21 07:32:08)
git-committer:
Vijay Kumar Banerjee <vijay@…> (03/11/21 16:54:13)
Message:

sb/config.py: Fix operator reconstruction

Close #4337

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/config.py

    rd638f2b re5aa419d  
    981981                if len(ifls) >= 3:
    982982                    for op in ['==', '!=', '>=', '=>', '=<', '<=', '>', '<']:
    983                         ops = s.split(op)
    984                         if len(ops) == 2:
    985                             ifls = (ops[0], op, ops[1])
     983                        if op in ifls:
     984                            op_pos = ifls.index(op)
     985                            ifls = (' '.join(ifls[:op_pos]), op, ' '.join(ifls[op_pos + 1:]))
    986986                            break
    987987                if len(ifls) != 3:
Note: See TracChangeset for help on using the changeset viewer.