Avoid 'expr index' on Mac OS X as it isn't supported
commitf5f30699c078be289daaabb61ed69e1f84747a78
authorShawn O. Pearce <spearce@spearce.org>
Wed, 17 Oct 2007 01:33:11 +0000 (16 21:33 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 17 Oct 2007 02:48:03 +0000 (16 22:48 -0400)
tree0049c8c6537753b1418ca8b2b4bb9dc02d386fb7
parent46eb449cbefac461659c42c4ba4b36de1959e7ca
Avoid 'expr index' on Mac OS X as it isn't supported

This fixes git-instaweb so it can start an httpd without warning
about an invalid test command.  Yes its ugly, but its also quite
portable.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-instaweb.sh