From 72054b95fdac6013a042cfee433eb474757a1450 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 24 Sep 2002 13:17:39 -0400 Subject: always convert to output path --- Source/cmTryRunCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index 250945f..bdbe6a4 100644 --- a/Source/cmTryRunCommand.cxx +++ b/Source/cmTryRunCommand.cxx @@ -94,9 +94,9 @@ bool cmTryRunCommand::InitialPass(std::vector const& argv) if (fullPath.size() > 1) { std::string finalCommand = fullPath; + finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str()); if(runArgs.size()) { - finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str()); finalCommand += runArgs; } cmSystemTools::RunCommand(finalCommand.c_str(), output, retVal, 0, false); -- cgit v0.12