summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index a650fad..06b6658 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -50,8 +50,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
if(m_Makefile->GetDefinition("UNIX"))
{
buildname = "";
- cmSystemTools::RunCommand("uname -a",
- buildname);
+ cmSystemTools::RunSingleCommand("uname -a", &buildname);
if(buildname.length())
{
std::string RegExp = "([^ ]*) [^ ]* ([^ ]*) ";