diff options
Diffstat (limited to 'meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch')
-rw-r--r-- | meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch b/meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch deleted file mode 100644 index a40ec6f21e..0000000000 --- a/meta/recipes-devtools/guilt/files/guilt-set-git_exec_path.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | guilt: set GIT_EXEC_PATH in guilt wrapper | ||
2 | |||
3 | git has the habit of tracking the directory where it was | ||
4 | installed. If you build git, relocate git and then remove | ||
5 | the old directory --exec-path will return that original | ||
6 | (now non-existent) directory. We insist that git and | ||
7 | guilt be in the same directory to ensure they are matched, | ||
8 | so we use the environment variable GIT_EXEC_PATH to | ||
9 | force the issue. | ||
10 | |||
11 | Upstream-Status: Inappropriate [oe-specific] | ||
12 | |||
13 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
14 | |||
15 | --- | ||
16 | guilt | 2 ++ | ||
17 | 1 file changed, 2 insertions(+) | ||
18 | |||
19 | --- a/guilt | ||
20 | +++ b/guilt | ||
21 | @@ -23,6 +23,8 @@ esac | ||
22 | # we change directories ourselves | ||
23 | SUBDIRECTORY_OK=1 | ||
24 | |||
25 | +export GIT_EXEC_PATH=`dirname $0`/../libexec/git-core | ||
26 | + | ||
27 | if [ -z "$DO_NOT_USE_GITREPO_COMMANDS" ]; then | ||
28 | . "$(git --exec-path)/git-sh-setup" | ||
29 | fi | ||