]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Revert "buildconf: use find -execdir"
authorDaniel Stenberg <daniel@haxx.se>
Fri, 29 May 2020 15:34:06 +0000 (17:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 May 2020 15:37:24 +0000 (17:37 +0200)
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

buildconf

index 6f7f0b393cd88903ea08d05490a2149ed7d1cb75..8fe42ced2a6bc5f47364f6462adb95122bd452d8 100755 (executable)
--- 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
 }