threads / patch / 14337

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

Subject: [PATCH] install-doc-quick - use git --exec-path to find git-sh-setup

## tl;dr

One message between Jul 8, 2008 and Jul 8, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Mark Levedahl· Jul 8, 2008, 02:37 UTC · lore
This is needed as git-sh-setup is no longer in the path.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
---
 Documentation/install-doc-quick.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/install-doc-quick.sh +1 −1
diff --git a/Documentation/install-doc-quick.sh b/Documentation/install-doc-quick.sh
index 5433cf8..35f4408 100755
--- a/Documentation/install-doc-quick.sh
+++ b/Documentation/install-doc-quick.sh
@@ -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
-- 
1.5.6.2.271.g73ad8

← back to recent threads