ENH: Use the new signature

This commit is contained in:
Andy Cedilnik 2003-08-03 22:34:59 -04:00
parent 0b150f69c2
commit 1d3921b4ca
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
if (!cmSystemTools::IsOff(hostname_cmd.c_str())) if (!cmSystemTools::IsOff(hostname_cmd.c_str()))
{ {
std::string host; std::string host;
cmSystemTools::RunCommand(hostname_cmd.c_str(), cmSystemTools::RunSingleCommand(hostname_cmd.c_str(),
host); &host);
// got the hostname // got the hostname
if (host.length()) if (host.length())