Commit aad0ceda38 for openssl.org

commit aad0ceda38dbb3881599cd4666334b191388bdb8
Author: Nikola Pajkovsky <nikolap@openssl.org>
Date:   Wed Feb 4 15:05:40 2026 +0100

    config: use -path instead of -wholename

    -wholename is mostly alias to -path, and -path is more
    portable. E.g. -wholename does not exist on NetBSD.

    Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>

    Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Tim Hudson <tjh@openssl.org>
    Reviewed-by: Tomas Mraz <tomas@openssl.org>
    MergeDate: Mon Feb  9 09:53:10 2026
    (Merged from https://github.com/openssl/openssl/pull/29944)

diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 155aa46955..bdcd87ac06 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -639,7 +639,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 '.*' \! -wholename './pkcs11-provider/*' -exec $(RM) {} \;
+	-find . -type l \! -name '.*' \! -path './pkcs11-provider/*' -exec $(RM) {} \;

 distclean: clean ## Clean and remove the configuration
 	$(RM) include/openssl/configuration.h