Module Name:    src
Committed By:   christos
Date:           Mon May 24 22:40:44 UTC 2021

Modified Files:
        src/distrib/acorn32/stand: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/acorn32/stand/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/acorn32/stand/Makefile
diff -u src/distrib/acorn32/stand/Makefile:1.28 src/distrib/acorn32/stand/Makefile:1.29
--- src/distrib/acorn32/stand/Makefile:1.28	Tue Jan 21 20:03:09 2014
+++ src/distrib/acorn32/stand/Makefile	Mon May 24 18:40:44 2021
@@ -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 @@ setup_tmp:
 	-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

Reply via email to