summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1999-02-14 13:56:15 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1999-02-14 13:56:15 +0000
commita235e482221f4b91a91fc413be516e70008b3b9c (patch)
tree4e88514782dd1d0ebd07007e598781f4618b927a /chpass/Makefile
parent4295fd8b7ea85b9da77cc6305dd548c713f7c2a2 (diff)
downloadpw-darwin-a235e482221f4b91a91fc413be516e70008b3b9c.tar.gz
pw-darwin-a235e482221f4b91a91fc413be516e70008b3b9c.tar.zst
pw-darwin-a235e482221f4b91a91fc413be516e70008b3b9c.zip
Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index 3abed82..c17a4ce 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -60,10 +60,10 @@ yppasswd_private_clnt.c: ${RPCSRC_PRIV}
beforeinstall:
.for i in chpass chfn chsh ypchpass ypchfn ypchsh
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
- chflags noschg ${DESTDIR}${BINDIR}/$i
+ chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor
afterinstall:
- chflags schg ${DESTDIR}${BINDIR}/chpass
+ -chflags schg ${DESTDIR}${BINDIR}/chpass
.include <bsd.prog.mk>