t7800: avoid arithmetic expansion notation
commit15a31e78852f4ede5335552875006daeedfc3aa7
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 18:07:26 +0000 (14 11:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 18:11:30 +0000 (14 11:11 -0700)
treec02cf827900b476d7a1862903600e53fee550d2e
parentba959de165c6fc0d08d851894a98778e739aafc9
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 <gitster@pobox.com>
t/t7800-difftool.sh