BUG: fix for bug 689

This commit is contained in:
Bill Hoffman 2004-04-15 11:38:35 -04:00
parent fad91fb770
commit e78cf5ca6f
1 changed files with 1 additions and 1 deletions

View File

@ -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())