aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-29 17:34:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-29 17:37:24 +0200
commitd618986a1cbaf5826dbb12fe0544c645906810a6 (patch)
treea9e9a787297a079cecb26acdae5574cd29672d3b
parent6531d089e514ae723241b7a593ed5f8152900ea7 (diff)
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
-rwxr-xr-xbuildconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 6f7f0b393..8fe42ced2 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
}