summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-03-09 11:10:21 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-03-10 11:47:36 -0700
commitd638f2b9a0a1f19d45529c7f4a85135432fe8bb2 (patch)
tree94bc6027b3cd037740a1925ba1bc1c3855d4de29
parentAdd patch to newlib for devctl.h to compile with C++ (diff)
downloadrtems-source-builder-d638f2b9a0a1f19d45529c7f4a85135432fe8bb2.tar.bz2
sb/config.py: Fix relational operator
Close #4330
-rw-r--r--source-builder/sb/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index afcac84..04e0834 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -978,7 +978,7 @@ class file:
else:
self._error('invalid if bool operator: ' + reduce(add, ls, ''))
else:
- if len(ifls) > 3:
+ if len(ifls) >= 3:
for op in ['==', '!=', '>=', '=>', '=<', '<=', '>', '<']:
ops = s.split(op)
if len(ops) == 2: