From: Daniel Stenberg Date: Fri, 29 May 2020 15:34:06 +0000 (+0200) Subject: Revert "buildconf: use find -execdir" X-Git-Tag: curl-7_71_0~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d618986a1cbaf5826dbb12fe0544c645906810a6;p=thirdparty%2Fcurl.git Revert "buildconf: use find -execdir" This partially reverts commit c712009838f44211958854de431315586995bc61. 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 --- diff --git a/buildconf b/buildconf index 6f7f0b393c..8fe42ced2a 100755 --- a/buildconf +++ b/buildconf @@ -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 }