@@ -66,13 +66,13 @@ start-group "ninja"
6666
6767# Targets are not escaped as they are passed as separate arguments.
6868ninja -C " ${BUILD_DIR} " -k 0 ${targets} | & tee ninja.log
69- cp .ninja_log ninja.ninja_log
69+ cp ${BUILD_DIR} / .ninja_log ninja.ninja_log
7070
7171if [[ " ${runtime_targets} " != " " ]]; then
7272 start-group " ninja Runtimes"
7373
7474 ninja -C " ${BUILD_DIR} " ${runtime_targets} | & tee ninja_runtimes.log
75- cp .ninja_log ninja_runtimes.ninja_log
75+ cp ${BUILD_DIR} / .ninja_log ninja_runtimes.ninja_log
7676fi
7777
7878# Compiling runtimes with just-built Clang and running their tests
@@ -89,7 +89,7 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
8989
9090 ninja -C " ${BUILD_DIR} " ${runtime_targets_needs_reconfig} \
9191 | & tee ninja_runtimes_needs_reconfig1.log
92- cp .ninja_log ninja_runtimes_needs_reconig.ninja_log
92+ cp ${BUILD_DIR} / .ninja_log ninja_runtimes_needs_reconig.ninja_log
9393
9494 start-group " CMake Runtimes Clang Modules"
9595
@@ -102,5 +102,5 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
102102
103103 ninja -C " ${BUILD_DIR} " ${runtime_targets_needs_reconfig} \
104104 | & tee ninja_runtimes_needs_reconfig2.log
105- cp .ninja_log ninja_runtimes_needs_reconfig2.ninja_log
105+ cp ${BUILD_DIR} / .ninja_log ninja_runtimes_needs_reconfig2.ninja_log
106106fi
0 commit comments