PR/56207: Jan-Benedict Glaw: Handle error from find when removing CVS

directories on a git repo.
This commit is contained in:
christos 2021-05-24 22:40:44 +00:00
parent 42e0c9de41
commit 81aad16d1a
1 changed files with 4 additions and 4 deletions

View File

@ -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