From fc8a2e123444834a8e48e2b8076e112d4b1155cb Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 10 Mar 2023 14:56:01 +0100 Subject: just-mr: fix launcher forwarding A local launcher should be forwarded, if it is different to the default launcher (which is ["env", "--"]); in particular, an explictly empy launcher should be forwarded. --- src/other_tools/just_mr/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index 70eaee3c..bedda552 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -1286,7 +1286,7 @@ void DefaultReachableRepositories( cmd.emplace_back(*arguments.common.just_mr_paths->root); } if (use_launcher and arguments.common.local_launcher and - not arguments.common.local_launcher->empty()) { + (arguments.common.local_launcher != kDefaultLauncher)) { cmd.emplace_back("--local-launcher"); cmd.emplace_back( nlohmann::json(*arguments.common.local_launcher).dump()); -- cgit v1.2.3