xen/build: fix xen/tools/binfile
authorJuergen Gross <jgross@suse.com>
Fri, 29 May 2020 18:28:00 +0000 (20:28 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 21:30:14 +0000 (22:30 +0100)
commit5e1783880d6948ea5c8fad6dd64af6e44a1e32ab
treefc5ac07827880f0d01750e24cabfbcfe738239ed
parentcc07818e5e475c4ac0ee88130a2d4b329a53651e
xen/build: fix xen/tools/binfile

xen/tools/binfile contains a bash specific command (let). This leads
to build failures on systems not using bash as /bin/sh.

Replace "let SHIFT=$OPTIND-1" by "SHIFT=$((OPTIND-1))".

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/tools/binfile