| 2131 | } |
| 2132 | |
| 2133 | void cmSystemTools::EnvDiff::PutEnv(std::string const& env) |
| 2134 | { |
| 2135 | auto const eq_loc = env.find('='); |
| 2136 | if (eq_loc != std::string::npos) { |
| 2137 | std::string name = env.substr(0, eq_loc); |
| 2138 | diff[name] = env.substr(eq_loc + 1); |
| 2139 | } else { |
| 2140 | this->UnPutEnv(env); |
| 2141 | } |
| 2142 | } |
| 2143 | |
| 2144 | void cmSystemTools::EnvDiff::UnPutEnv(std::string const& env) |
| 2145 | { |
no test coverage detected