]> git.ipfire.org Git - thirdparty/git.git/commitdiff
install-doc-quick - use git --exec-path to find git-sh-setup
authorMark Levedahl <mlevedahl@gmail.com>
Tue, 8 Jul 2008 02:37:38 +0000 (22:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2008 23:36:03 +0000 (16:36 -0700)
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>
Documentation/install-doc-quick.sh

index 5433cf8cedc466d2da56386ec4b5f4f9f462ef5b..35f440876ed182de319b6d3f0b8296b1a1ede29d 100755 (executable)
@@ -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