diff options
author | Richard Hansen <rhansen@bbn.com> | 2013-11-17 23:12:47 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-18 13:45:58 -0800 |
commit | 25607db2c30c618a18f66350f01b1ccb05c551c6 (patch) | |
tree | f2c517b60d60b9e292b04f796efdc0226803933c /git.c | |
parent | test-hg.sh: eliminate 'local' bashism (diff) | |
download | tgif-25607db2c30c618a18f66350f01b1ccb05c551c6.tar.xz |
test-hg.sh: avoid obsolete 'test' syntax
The POSIX spec says that the '-a', '-o', and parentheses operands to
the 'test' utility are obsolete extensions due to the potential for
ambiguity. Replace '-o' with '|| test' to avoid unspecified behavior.
Signed-off-by: Richard Hansen <rhansen@bbn.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions