Configurations/unix-Makefile.tmpl: make cleanup kinder
authorRichard Levitte <levitte@openssl.org>
Mon, 21 Sep 2020 18:56:34 +0000 (20:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 23 Sep 2020 09:09:07 +0000 (11:09 +0200)
commit0ce47b35c7e6b6b82cfd86ec05b786338b8879c2
tree24207516615230d9dbe3444bdfcad582d00260b3
parente771249c4f6bfb5b49d2c018447bcaa0039fd862
Configurations/unix-Makefile.tmpl: make cleanup kinder

The removal of certain types of files we structured like this:

    -$(RM) `find . {{options}} -print`

This isn't very kind for shells with limited command line lengths
(even when that limit is generous, in our case), so we rewrite those
like this:

    -find . {{options}} -exec $(RM) {} \;

Fixes #12938

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12939)
Configurations/unix-Makefile.tmpl