diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/utils.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 69ca8987f3..1658f3555d 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -258,11 +258,11 @@ def execute_pre_post_process(d, cmds): | |||
258 | if cmds is None: | 258 | if cmds is None: |
259 | return | 259 | return |
260 | 260 | ||
261 | for cmd in cmds.strip().split(';'): | 261 | cmds = cmds.replace(";", " ") |
262 | cmd = cmd.strip() | 262 | |
263 | if cmd != '': | 263 | for cmd in cmds.split(): |
264 | bb.note("Executing %s ..." % cmd) | 264 | bb.note("Executing %s ..." % cmd) |
265 | bb.build.exec_func(cmd, d) | 265 | bb.build.exec_func(cmd, d) |
266 | 266 | ||
267 | # For each item in items, call the function 'target' with item as the first | 267 | # For each item in items, call the function 'target' with item as the first |
268 | # argument, extraargs as the other arguments and handle any exceptions in the | 268 | # argument, extraargs as the other arguments and handle any exceptions in the |