Code

git-quiltimport /bin/sh-ism fix
authorFrancis Daly <francis@daoine.org>
Thu, 29 Mar 2007 21:38:20 +0000 (22:38 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 30 Mar 2007 06:11:33 +0000 (23:11 -0700)
commitb275a0c9e742e4bbfed9794b1e477000440eaf6a
tree813760df877e00be7a415e401f75dfa9f55143ad
parent6f01e6b37008e45efb2b17a027f045600a011e93
git-quiltimport /bin/sh-ism fix

Bryan Wu reported
/usr/local/bin/git-quiltimport: 114: Syntax error: Missing '))'

Most bourne-ish shells I have here accept
 x=$((echo x)|cat)
but all bourne-ish shells I have here accept
 x=$( (echo x)|cat)
because $(( might mean arithmetic expansion.

Signed-off-by: Francis Daly <francis@daoine.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-quiltimport.sh