xen/build: fix xen/tools/binfile
PATCH 1/1 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 <[email protected]>
--- xen/tools/binfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/tools/binfile +1 -1
@@ -17,7 +17,7 @@ while getopts "ia:" opt; do ;; esac done -let "SHIFT=$OPTIND-1" +SHIFT=$((OPTIND-1)) shift $SHIFT target=$1
Signature · 1 line
2.26.2
Quoted 6 lines · Juergen Gross
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 <[email protected]>
A/T-by and pushed. Thanks for the quick turnaround.
~Andrew