summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-03 22:33:35 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-03 22:33:35 -0400
commit32c2ed2ef37990060238d2e136b255d7074f6ae4 (patch)
treecb330de428484b82ac30f0c5f1761bd6777aa31e /Source/cmBuildNameCommand.cxx
parent8a31793c89be483bcf6d44fff0785b894172e35a (diff)
downloadcmake-32c2ed2ef37990060238d2e136b255d7074f6ae4.tar.gz
ENH: Use the new signature
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 a650fad2e5..06b6658ad4 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 = "([^ ]*) [^ ]* ([^ ]*) ";