summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd/Makefile
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/passwd/Makefile
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/passwd/Makefile')
-rw-r--r--usr.bin/passwd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index cfa98db..f01fe6d 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
-# $Id: Makefile,v 1.29 1998/08/06 21:37:51 markm Exp $
+# $Id: Makefile,v 1.30 1998/09/19 22:42:04 obrien Exp $
PROG= passwd
SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \
@@ -70,10 +70,10 @@ DISTRIBUTION= krb
beforeinstall:
.for i in passwd yppasswd
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
- chflags noschg ${DESTDIR}${BINDIR}/$i
+ chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor
afterinstall:
- chflags schg ${DESTDIR}${BINDIR}/passwd
+ -chflags schg ${DESTDIR}${BINDIR}/passwd
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud