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>
Mark Levedahl committed
Jul 7, 2008 at 22:37 UTC
dc0f70541503e9006ac2fe812591b080c169c572
1 file changed
+1
-1
Documentation/install-doc-quick.sh
+1
-1
@@ -6,7 +6,7 @@ head="$1"
6
mandir="$2"
7
SUBDIRECTORY_OK=t
8
USAGE='<refname> <target directory>'
9
-. git-sh-setup
9
+. "$(git --exec-path)"/git-sh-setup
10
cd_to_toplevel
11
12
test -z "$mandir" && usage