From eec435695e9d0cf16fc2d3464ea5317cee637db0 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Sat, 16 Aug 2025 17:21:42 +0200 Subject: [PATCH] We should not remove symlinks in submodules Fixes #28285 Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28286) --- Configurations/unix-Makefile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index b13fb5dd480..70ac47b73c6 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -636,7 +636,7 @@ clean: libclean ## Clean the workspace, keep the configuration $(RM) tags TAGS doc-nits md-nits $(RM) -r test/test-runs $(RM) providers/fips*.new - -find . -type l \! -name '.*' -exec $(RM) {} \; + -find . -type l \! -name '.*' \! -wholename './pkcs11-provider/*' -exec $(RM) {} \; distclean: clean ## Clean and remove the configuration $(RM) include/openssl/configuration.h -- 2.47.3