cmake: quote the path accurately when editing `test-lib.sh`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 30 Sep 2020 15:26:19 +0000 (15:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Sep 2020 20:25:59 +0000 (13:25 -0700)
commitf1bd7379570d74f5ea70ef8bb89fa82d9a219c8e
treea912a9cafa950319e514a6f35e77d1b6be780014
parent8f4513872517b72fb49d914ee9af8d44c836fc5a
cmake: quote the path accurately when editing `test-lib.sh`

By default, the build directory will be called something like
`contrib/buildsystems/out/build/x64-Debug (default)` (note the space and
the parentheses). We need to make sure that such a path is quoted
properly when editing the assignment of the `GIT_BUILD_DIR` variable.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/buildsystems/CMakeLists.txt