Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2010 12:35:20 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204707 - head/usr.bin/chpass
Message-ID:  <201003041235.o24CZKaj074261@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003041235.o24CZKaj074261>