install-doc-quick - use git --exec-path to find git-sh-setup

This is needed as git-sh-setup is no longer in the path.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Mark Levedahl 2008-07-07 22:37:38 -04:00 committed by Junio C Hamano
parent d1a4489a56
commit dc0f705415

View file

@ -6,7 +6,7 @@ head="$1"
mandir="$2"
SUBDIRECTORY_OK=t
USAGE='<refname> <target directory>'
. git-sh-setup
. "$(git --exec-path)"/git-sh-setup
cd_to_toplevel
test -z "$mandir" && usage