summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-04-15 14:53:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-15 14:54:42 +0200
commitc712009838f44211958854de431315586995bc61 (patch)
treed955c68799af24f18ac9ef632c35f6aac07499d4
parent1e41bec96a6e2fcb7be3146ba0e6795d7f59fb66 (diff)
downloadcurl-c712009838f44211958854de431315586995bc61.tar.gz
buildconf: use find -execdir instead, remove -print and the ares files
Follow-up to 1e41bec96a6e Suggested-by: Marc Hörsken
-rwxr-xr-xbuildconf7
1 files changed, 2 insertions, 5 deletions
diff --git a/buildconf b/buildconf
index 383665a7b..6f7f0b393 100755
--- a/buildconf
+++ b/buildconf
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -64,7 +64,7 @@ findtool(){
#
removethis(){
if test "$#" = "1"; then
- find . -depth -name $1 -print -exec rm -rf {} \;
+ find . -depth -name $1 -execdir rm -rf {} \;
fi
}
@@ -282,9 +282,6 @@ for fname in .deps \
Makefile.in \
aclocal.m4 \
aclocal.m4.bak \
- ares_build.h \
- ares_config.h \
- ares_config.h.in \
autom4te.cache \
compile \
config.guess \