BUG: fix for bug 689
This commit is contained in:
parent
fad91fb770
commit
e78cf5ca6f
|
@ -67,7 +67,7 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
|
|||
{
|
||||
std::string host;
|
||||
cmSystemTools::RunSingleCommand(hostname_cmd.c_str(),
|
||||
&host);
|
||||
&host, 0, 0, false);
|
||||
|
||||
// got the hostname
|
||||
if (host.length())
|
||||
|
|
Loading…
Reference in New Issue