t7800: avoid arithmetic expansion notation
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 18:07:26 +0000 (11:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 18:11:30 +0000 (11:11 -0700)
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 <gitster@pobox.com>
No differences found