Browse Source

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>
maint
Mark Levedahl 17 years ago committed by Junio C Hamano
parent
commit
dc0f705415
  1. 2
      Documentation/install-doc-quick.sh

2
Documentation/install-doc-quick.sh

@ -6,7 +6,7 @@ head="$1" @@ -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

Loading…
Cancel
Save