Code

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