summaryrefslogtreecommitdiffstats
path: root/Source/cmSiteNameCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:41:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:41:34 (GMT)
commit2c33b3db659970b098b76a8180ca4e4241ced1a5 (patch)
tree0a7f2c9b7df361573f0fb5b4aa2a1fa4e05863e4 /Source/cmSiteNameCommand.cxx
parent41feb1f86b5ec4710c4b10ff5f0a0609f48c4373 (diff)
downloadCMake-2c33b3db659970b098b76a8180ca4e4241ced1a5.zip
CMake-2c33b3db659970b098b76a8180ca4e4241ced1a5.tar.gz
CMake-2c33b3db659970b098b76a8180ca4e4241ced1a5.tar.bz2
ENH: Use new RunCommand
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r--Source/cmSiteNameCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx
index 8e5988a..5dcc984 100644
--- a/Source/cmSiteNameCommand.cxx
+++ b/Source/cmSiteNameCommand.cxx
@@ -102,8 +102,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
nslookup_cmd += " ";
nslookup_cmd += host;
std::string nsOutput;
- cmSystemTools::RunCommand(nslookup_cmd.c_str(),
- nsOutput);
+ cmSystemTools::RunSingleCommand(nslookup_cmd.c_str(),
+ &nsOutput);
// got the domain name
if (nsOutput.length())