mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-06 05:25:18 +00:00
Fix missing cleanup of toplevel Makefile
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
+3
-3
@@ -396,9 +396,9 @@ cleanup()
|
||||
# subdirectories.
|
||||
# Remove **/Makefile only if it looks like it was created by an in-tree
|
||||
# CMake build.
|
||||
local cmake_dirs=($(list_git_files 'CMakeLists.txt' '**/CMakeLists.txt' |
|
||||
sed -e 's![^/]*$!!'))
|
||||
for d in "${cmake_dirs[@]}"; do
|
||||
local cmakelists=($(list_git_files 'CMakeLists.txt' '**/CMakeLists.txt'))
|
||||
for f in "${cmakelists[@]}"; do
|
||||
local d="$(dirname -- "$f")"
|
||||
if [ -d "$d/CMakeFiles" ]; then
|
||||
rm -rf "$d/CMakeFiles" \
|
||||
"$d/cmake_install.cmake" \
|
||||
|
||||
Reference in New Issue
Block a user