Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools Don't use -print0/-0 in find | xargs, it is non-standa...



details:   https://anonhg.NetBSD.org/src/rev/c831b1b0c61b
branches:  trunk
changeset: 779802:c831b1b0c61b
user:      hans <hans%NetBSD.org@localhost>
date:      Tue Jun 19 21:48:33 2012 +0000

description:
Don't use -print0/-0 in find | xargs, it is non-standard and not needed at all.

diffstat:

 tools/Makefile.gnuhost |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ab70da976e49 -r c831b1b0c61b tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Tue Jun 19 21:25:26 2012 +0000
+++ b/tools/Makefile.gnuhost    Tue Jun 19 21:48:33 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gnuhost,v 1.38 2012/04/18 11:28:30 tsutsui Exp $
+#      $NetBSD: Makefile.gnuhost,v 1.39 2012/06/19 21:48:33 hans Exp $
 #
 # Rules used when building a GNU host package.  Expects MODULE to be set.
 #
@@ -103,7 +103,7 @@
 configure_cleanup:
        @mkdir build 2>/dev/null || true
        @(echo "Cleaning stale cache files ${BUILD_PLATFORM} != ${CONFIGURE_PLATFORM}")
-       @(cd build && find . -name config.cache -print0 | xargs -0 rm -f)
+       @(cd build && find . -name config.cache | xargs rm -f)
 configure_cleanup=configure_cleanup
 .endif
 



Home | Main Index | Thread Index | Old Index