diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-04 02:34:59 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-04 02:34:59 (GMT) |
commit | 1d3921b4caf02e67b5d250ea50ced2d1fdbd2329 (patch) | |
tree | 354f5c626df7f50f3386796fc45b765bc47d435a | |
parent | 0b150f69c2a724b8ec097ca1657c089a6e2861e8 (diff) | |
download | CMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.zip CMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.tar.gz CMake-1d3921b4caf02e67b5d250ea50ced2d1fdbd2329.tar.bz2 |
ENH: Use the new signature
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 4 |
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()) |