summaryrefslogtreecommitdiffstats
path: root/Source/cmSiteNameCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:34:59 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:34:59 (GMT)
commit1d3921b4caf02e67b5d250ea50ced2d1fdbd2329 (patch)
tree354f5c626df7f50f3386796fc45b765bc47d435a /Source/cmSiteNameCommand.cxx
parent0b150f69c2a724b8ec097ca1657c089a6e2861e8 (diff)
downloadCMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.zip
CMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.tar.gz
CMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.tar.bz2
ENH: Use the new signature
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 a3bf742..8e5988a 100644
--- a/Source/cmSiteNameCommand.cxx
+++ b/Source/cmSiteNameCommand.cxx
@@ -66,8 +66,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
if (!cmSystemTools::IsOff(hostname_cmd.c_str()))
{
std::string host;
- cmSystemTools::RunCommand(hostname_cmd.c_str(),
- host);
+ cmSystemTools::RunSingleCommand(hostname_cmd.c_str(),
+ &host);
// got the hostname
if (host.length())