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>
This commit is contained in:

committed by
Junio C Hamano

parent
9b777a165e
commit
568899539d
@ -793,6 +793,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
|
|||||||
PATH="$TEST_DIRECTORY/..:$PATH"
|
PATH="$TEST_DIRECTORY/..:$PATH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
GIT_BUILD_DIR=$(pwd)/..
|
||||||
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
|
GIT_TEMPLATE_DIR=$(pwd)/../templates/blt
|
||||||
unset GIT_CONFIG
|
unset GIT_CONFIG
|
||||||
GIT_CONFIG_NOSYSTEM=1
|
GIT_CONFIG_NOSYSTEM=1
|
||||||
|
Reference in New Issue
Block a user