From: Junio C Hamano Date: Fri, 14 Oct 2011 18:07:26 +0000 (-0700) Subject: t7800: avoid arithmetic expansion notation X-Git-Tag: v1.7.8-rc0~29^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/15a31e78852f4ede5335552875006daeedfc3aa7?hp=15a31e78852f4ede5335552875006daeedfc3aa7 t7800: avoid arithmetic expansion notation The construct "var=$(( something ..." is interpreted by some shells as arithmetic expansion, even when it clearly is not, e.g. var=$((foo; bar) | baz) Avoid the issue by giving an extra SP to help the parser, i.e. var=$( (foo; bar) | baz ) Noticed by Michael J Gruber. Signed-off-by: Junio C Hamano ---