ENH: Use the new signature
This commit is contained in:
parent
0b150f69c2
commit
1d3921b4ca
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue