ENH: Use the new signature

This commit is contained in:
Andy Cedilnik
2003-08-03 22:33:35 -04:00
parent 8a31793c89
commit 32c2ed2ef3
2 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -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 = "([^ ]*) [^ ]* ([^ ]*) ";