svn commit: r204707 - head/usr.bin/chpass

Scott Long scottl at FreeBSD.org
Thu Mar 4 12:35:21 UTC 2010


Author: scottl
Date: Thu Mar  4 12:35:20 2010
New Revision: 204707
URL: http://svn.freebsd.org/changeset/base/204707

Log:
  Let the afterinstall target ignore failures from running chflags.  This
  allows it to work over NFS, and puts it back into conformance with other
  'schg' utlitilties in the system.
  
  Reviewed by:	ed

Modified:
  head/usr.bin/chpass/Makefile

Modified: head/usr.bin/chpass/Makefile
==============================================================================
--- head/usr.bin/chpass/Makefile	Thu Mar  4 12:18:24 2010	(r204706)
+++ head/usr.bin/chpass/Makefile	Thu Mar  4 12:35:20 2010	(r204707)
@@ -43,7 +43,7 @@ beforeinstall:
 
 .if !defined(NO_FSCHG)
 afterinstall:
-	chflags schg ${DESTDIR}${BINDIR}/chpass
+	-chflags schg ${DESTDIR}${BINDIR}/chpass
 .endif
 
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list