Change #272959
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Fri 26 Jun 2026 19:01:30 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 6d008352c667799beecb1ab1dfbc408c415d018c |
Comments
cmake: replace deprecated `remove` command with `rm` and pass arg safely All curl-supported CMake versions support the modern method, along with the `--` marker. Also: - make sure to pass `-f` to not fail if the file is missing, as before this patch. - drop now redundant `OUTPUT_QUIET`, `ERROR_QUIET` and error handling in `cmake_uninstall`. - move filename to end of the error message for readability. - GHA/linux: test these two 'clean' targets in the aws-lc job. Refs: https://cmake.org/cmake/help/v4.4/manual/cmake.1.html#cmdoption-cmake-E-arg-remove https://cmake.org/cmake/help/v3.18/manual/cmake.1.html#run-a-command-line-tool Closes #22193
Changed files
- .github/workflows/linux.yml
- CMake/cmake_uninstall.in.cmake
- tests/certs/CMakeLists.txt