diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-12-21 18:50:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-21 12:26:21 -0800 |
commit | 00f66f0e4913110e19972a71a150a7b9d1bfd02f (patch) | |
tree | 3ce5e259e7c1d2cbe17d496041db9a629e10ee77 /contrib/examples/git-gc.sh | |
parent | gitweb: Include links to feeds in HTML header only for '200 OK' response (diff) | |
download | tgif-00f66f0e4913110e19972a71a150a7b9d1bfd02f.tar.xz |
t3419-*.sh: Fix arithmetic expansion syntax error
Some shells, for example dash versions older than 0.5.4, need to
spell a variable reference as '$N' rather than 'N' in an arithmetic
expansion. In order to avoid the syntax error, we change the
offending variable reference from 'i' to '$i' in function scramble.
There is nothing bash specific to this test script (and we shouldn't
have any bash dependent test). Fix its shebang line.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-gc.sh')
0 files changed, 0 insertions, 0 deletions