summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-02-14 13:56:15 +0000
committerdes <des@FreeBSD.org>1999-02-14 13:56:15 +0000
commite158dd910e85016b8e7804f839754e22e78dea7c (patch)
tree3254bcf2b23c268bd2576e23425d81e7889d9792 /usr.bin/chpass
parent61e9418dd2bf9555cd37719ccbc0996bd5c4565a (diff)
downloadFreeBSD-src-e158dd910e85016b8e7804f839754e22e78dea7c.zip
FreeBSD-src-e158dd910e85016b8e7804f839754e22e78dea7c.tar.gz
Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 3abed82..c17a4ce 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/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>
OpenPOWER on IntegriCloud