2018-04-13 21:55:26 +00:00
|
|
|
diff --git a/t/test-lib.sh b/t/test-lib.sh
|
2019-02-25 18:26:30 +00:00
|
|
|
index 8665b0a9b6..8bb892b1af 100644
|
2018-04-13 21:55:26 +00:00
|
|
|
--- a/t/test-lib.sh
|
|
|
|
+++ b/t/test-lib.sh
|
2019-02-25 18:26:30 +00:00
|
|
|
@@ -1227,7 +1227,7 @@ elif test -n "$GIT_TEST_INSTALLED"
|
2018-04-13 21:55:26 +00:00
|
|
|
then
|
|
|
|
GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
|
|
|
|
error "Cannot run git from $GIT_TEST_INSTALLED."
|
2019-02-25 18:26:30 +00:00
|
|
|
- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$PATH
|
2018-04-13 21:55:26 +00:00
|
|
|
+ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$GIT_BUILD_DIR:$PATH
|
|
|
|
GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
|
|
|
|
else # normal case, use ../bin-wrappers only unless $with_dashes:
|
2019-02-25 18:26:30 +00:00
|
|
|
if test -n "$no_bin_wrappers"
|