Skip to content

Commit 5688995

Browse files
trastgitster
authored andcommitted
test: Introduce $GIT_BUILD_DIR
Introduce a new variable $GIT_BUILD_DIR which can be used to locate data that resides under the build directory, and use that instead. Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9b777a1 commit 5688995

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/test-lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
793793
PATH="$TEST_DIRECTORY/..:$PATH"
794794
fi
795795
fi
796+
GIT_BUILD_DIR=$(pwd)/..
796797
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
797798
unset GIT_CONFIG
798799
GIT_CONFIG_NOSYSTEM=1

0 commit comments

Comments
 (0)