diff options
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 42831e277..c08af4593 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1240,6 +1240,10 @@ class BBCooker: parselog.error("BBFILE_PATTERN_%s not defined" % c) errors = True continue + elif regex == "": + parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) + errors = False + continue try: cre = re.compile(regex) except re.error: |