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 <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Jul 25, 2010 at 16:55 UTC
568899539d23be8689da4e7ee989deb8b8dc1a75
1 file changed
+1
t/test-lib.sh
+1
@@ -793,6 +793,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
793
PATH="$TEST_DIRECTORY/..:$PATH"
794
fi
795
fi
796
+GIT_BUILD_DIR=$(pwd)/..
797
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
798
unset GIT_CONFIG
799
GIT_CONFIG_NOSYSTEM=1