1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00

Revert "buildconf: use find -execdir"

This partially reverts commit c712009838.

Keep the ares_ files removed but bring back the older way to run find,
to make it work with busybox's find, as apparently that's being used.

Reported-by: Max Peal
Fixes #5483
Closes #5484
This commit is contained in:
Daniel Stenberg 2020-05-29 17:34:06 +02:00
parent 6531d089e5
commit d618986a1c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -64,7 +64,7 @@ findtool(){
#
removethis(){
if test "$#" = "1"; then
find . -depth -name $1 -execdir rm -rf {} \;
find . -depth -name $1 -print -exec rm -rf {} \;
fi
}