Git fork

t0450: fix test for out-of-tree builds

When using Meson, builds are out-of-tree and $GIT_BUILD_DIR gets set to
the path where the build output is landing. To locate the Documentation
sources, test 't0450' was using that path.

Modify test 't0450' to use `$GIT_SOURCE_DIR/Documentation` to find the
documentation sources.

Signed-off-by: Toon Claes <toon@iotcl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Toon Claes and committed by
Junio C Hamano
f175b349 16bd9f20

+1 -1
+1 -1
t/t0450-txt-doc-vs-help.sh
··· 41 41 } 42 42 43 43 builtin_to_adoc () { 44 - echo "$GIT_BUILD_DIR/Documentation/git-$1.adoc" 44 + echo "$GIT_SOURCE_DIR/Documentation/git-$1.adoc" 45 45 } 46 46 47 47 adoc_to_synopsis () {