aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-07-25 16:55:46 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-31 12:11:06 -0700
commit568899539d23be8689da4e7ee989deb8b8dc1a75 (patch)
treeff2f3e70c347f4f4d9abb8a5a00de36d016cdfee
parent9b777a165e050f9a881a74a5902a8ddd2de30da5 (diff)
downloadgit-568899539d23be8689da4e7ee989deb8b8dc1a75.tar.gz
git-568899539d23be8689da4e7ee989deb8b8dc1a75.tar.xz
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>
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 46179988a..9746ca408 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -793,6 +793,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
PATH="$TEST_DIRECTORY/..:$PATH"
fi
fi
+GIT_BUILD_DIR=$(pwd)/..
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
unset GIT_CONFIG
GIT_CONFIG_NOSYSTEM=1