Skip to content

Commit f175b34

Browse files
To1negitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 16bd9f2 commit f175b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0450-txt-doc-vs-help.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help_to_synopsis () {
4141
}
4242

4343
builtin_to_adoc () {
44-
echo "$GIT_BUILD_DIR/Documentation/git-$1.adoc"
44+
echo "$GIT_SOURCE_DIR/Documentation/git-$1.adoc"
4545
}
4646

4747
adoc_to_synopsis () {

0 commit comments

Comments
 (0)