author | Charles Bailey <charles@hashpling.org> | |
Wed, 19 Dec 2007 12:25:27 +0000 (12:25 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Dec 2007 22:59:19 +0000 (14:59 -0800) | ||
commit | c5699693638d0471bf74425238d802d2bc9e8c0f | |
tree | f11cd2e1509a242e2458f1f127d078d61e932039 | tree | snapshot |
parent | ecaa0cff44577700400903aa47eb0e99a135e423 | commit | diff |
Fix git-instaweb breakage on MacOS X due to the limited sed functionality
git-instaweb relied on a pipe in a sed script, but this is not supported
by MacOS X sed when using BREs. git-instaweb relies on a working perl
in any case, and perl re are more consistent between platforms, so
replace sed invocation with an equivalent perl invocation.
Also, fix the documented -b "" to work without giving a spurious 'command
not found' error.
Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb relied on a pipe in a sed script, but this is not supported
by MacOS X sed when using BREs. git-instaweb relies on a working perl
in any case, and perl re are more consistent between platforms, so
replace sed invocation with an equivalent perl invocation.
Also, fix the documented -b "" to work without giving a spurious 'command
not found' error.
Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
git-instaweb.sh | diff | blob | history |