Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/etc Pullup 1.167 [jmc]:



details:   https://anonhg.NetBSD.org/src/rev/78afbb911010
branches:  netbsd-1-5
changeset: 489979:78afbb911010
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 24 04:20:01 2000 +0000

description:
Pullup 1.167 [jmc]:
Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint
and rm complains because it can't actually nuke the mount point. Anything
serious like permissions or I/O errors will get caught in the install's
after this anyways.

diffstat:

 etc/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 64643265d49c -r 78afbb911010 etc/Makefile
--- a/etc/Makefile      Tue Oct 24 04:17:49 2000 +0000
+++ b/etc/Makefile      Tue Oct 24 04:20:01 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.154.2.8 2000/10/21 18:12:35 tv Exp $
+#      $NetBSD: Makefile,v 1.154.2.9 2000/10/24 04:20:01 tv Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -286,7 +286,8 @@
 # nothing here -- look in the machine-dependent Makefile.inc
 
 snap_pre:
-       /bin/rm -rf ${RELEASEDIR}
+       # Could be a mount point, ignore the errors
+       -/bin/rm -rf ${RELEASEDIR}
        ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}
 .for dir in ${INSTALLATION_DIRS}
        ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir}



Home | Main Index | Thread Index | Old Index