diff --git a/lib/worker_multibuild.py b/lib/worker_multibuild.py index 7936aaa..b1ef7d7 100644 --- a/lib/worker_multibuild.py +++ b/lib/worker_multibuild.py @@ -85,9 +85,7 @@ def _get_dockerfile_contents(jobname, os_codename='bionic'): if inside_allowed_command: res += line l = line.strip() - if l.endswith("\\") or l.endswith("\\\n"): - continue - else: + if not l.endswith("\\"): inside_allowed_command = False return res + dockerfile_extra_contents[os_codename]