build: work around bash issue
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Aug 2020 11:12:00 +0000 (13:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Aug 2020 11:12:00 +0000 (13:12 +0200)
commit5132a0a37190b73c99dbbecf48dc4fb214feaf14
treee8d80b7def60264e063db1416385d792a1700718
parentb2bc1e714462c6cc222e3bbc38d87b039b4fa405
build: work around bash issue

Older bash (observed with 3.2.57(2)) fails to honor "set -e" for certain
built-in commands ("while" here), despite the command's status correctly
being non-zero. The subsequent objcopy invocation now being separated by
a semicolon results in no failure. Insert an explicit "exit" (replacing
; by && ought to be another possible workaround).

Fixes: e321576f4047 ("xen/build: start using if_changed")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/Rules.mk