]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
buildconf: use find -execdir instead, remove -print and the ares files
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Apr 2020 12:53:53 +0000 (14:53 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Apr 2020 12:54:42 +0000 (14:54 +0200)
Follow-up to 1e41bec96a6e

Suggested-by: Marc Hörsken
buildconf

index 383665a7b98d854998d59a9a42c9bfb9b9b53dd3..6f7f0b393cd88903ea08d05490a2149ed7d1cb75 100755 (executable)
--- 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 \