diff options
-rw-r--r-- | Source/cmExecProgramCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecProgramCommand.cxx b/Source/cmExecProgramCommand.cxx index ab2d676..781c405 100644 --- a/Source/cmExecProgramCommand.cxx +++ b/Source/cmExecProgramCommand.cxx @@ -59,7 +59,7 @@ bool cmExecProgramCommand::InitialPass(std::vector<std::string> const& argsIn) std::string command; command = "cd "; command += args[1].c_str(); - command += "; "; + command += " && "; command += args[0].c_str(); cmSystemTools::RunCommand(command.c_str(), output); } |