ENH: undo bad checkin

This commit is contained in:
Bill Hoffman 2008-10-03 08:16:37 -04:00
parent bc15811d2a
commit adc880d2eb

View File

@ -372,18 +372,9 @@ void cmFindCommon::AddCMakePath(const char* variable)
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void cmFindCommon::AddEnvPath(const char* variable) void cmFindCommon::AddEnvPath(const char* variable)
{ {
if(variable)
{
std::cerr << variable << "\n";
}
// Get a path from the environment. // Get a path from the environment.
std::vector<std::string> tmp; std::vector<std::string> tmp;
cmSystemTools::GetPath(tmp, variable); cmSystemTools::GetPath(tmp, variable);
for(std::vector<std::string>::iterator i = tmp.begin();
i != tmp.end(); ++i)
{
std::cerr << i->c_str() << "\n";
}
// Relative paths are interpreted with respect to the current // Relative paths are interpreted with respect to the current
// working directory. // working directory.
this->AddPathsInternal(tmp, EnvPath); this->AddPathsInternal(tmp, EnvPath);