Source-Changes-HG archive

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

[src/trunk]: src/distrib/acorn32/stand PR/56207: Jan-Benedict Glaw: Handle er...



details:   https://anonhg.NetBSD.org/src/rev/c322c2e96c43
branches:  trunk
changeset: 1021300:c322c2e96c43
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 24 22:40:44 2021 +0000

description:
PR/56207: Jan-Benedict Glaw: Handle error from find when removing CVS
directories on a git repo.

diffstat:

 distrib/acorn32/stand/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 16d8b7e91d7a -r c322c2e96c43 distrib/acorn32/stand/Makefile
--- a/distrib/acorn32/stand/Makefile    Mon May 24 21:34:06 2021 +0000
+++ b/distrib/acorn32/stand/Makefile    Mon May 24 22:40:44 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2014/01/22 01:03:09 christos Exp $
+#      $NetBSD: Makefile,v 1.29 2021/05/24 22:40:44 christos Exp $
 #
 
 .include <bsd.own.mk>
@@ -91,9 +91,9 @@
        -rm -rf tmp
        mkdir tmp
        cp -R ${.CURDIR}/BtNetBSD tmp/
-       -find tmp -path '*/CVS/*' -type f -exec rm -rf {} \;
-       find tmp -name CVS -type d | xargs rmdir
-       find tmp -name '*.uue' -type f -exec rm -f {} \;
+       -find tmp -path '*/CVS/*' -type f -exec rm -rf {} +
+       -find tmp -name CVS -type d -exec rmdir {} +
+       -find tmp -name '*.uue' -type f -exec rm -f {} +
 
 .PHONY: settypes
 settypes: setup_tmp



Home | Main Index | Thread Index | Old Index