-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mo/bin-wrappers: INSTALL: document a simpler way to run uninstalled builds run test suite without dashed git-commands in PATH build dashless "bin-wrappers" directory similar to installed bindir
- Loading branch information
Showing
6 changed files
with
93 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/GIT-CFLAGS | ||
/GIT-GUI-VARS | ||
/GIT-VERSION-FILE | ||
/bin-wrappers/ | ||
/git | ||
/git-add | ||
/git-add--interactive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
# wrap-for-bin.sh: Template for git executable wrapper scripts | ||
# to run test suite against sandbox, but with only bindir-installed | ||
# executables in PATH. The Makefile copies this into various | ||
# files in bin-wrappers, substituting | ||
# @@BUILD_DIR@@ and @@PROG@@. | ||
|
||
GIT_EXEC_PATH='@@BUILD_DIR@@' | ||
GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt' | ||
GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib' | ||
PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH" | ||
export GIT_EXEC_PATH GIT_TEMPLATE_DIR GITPERLLIB PATH | ||
|
||
exec "${GIT_EXEC_PATH}/@@PROG@@" "$@" |