Source-Changes-HG archive

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

[src/netbsd-1-6]: src/etc Pull up revision 1.222 (requested by lukem in ticke...



details:   https://anonhg.NetBSD.org/src/rev/b6cd3623eca2
branches:  netbsd-1-6
changeset: 527882:b6cd3623eca2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jun 11 16:15:57 2002 +0000

description:
Pull up revision 1.222 (requested by lukem in ticket #251):
use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog

diffstat:

 etc/Makefile |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r f3a5f37dc19e -r b6cd3623eca2 etc/Makefile
--- a/etc/Makefile      Tue Jun 11 16:14:05 2002 +0000
+++ b/etc/Makefile      Tue Jun 11 16:15:57 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.219.2.2 2002/05/30 23:59:12 tv Exp $
+#      $NetBSD: Makefile,v 1.219.2.3 2002/06/11 16:15:57 lukem Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -141,12 +141,12 @@
        ${PWD_MKDB} -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \
                ${DESTDIR}/etc/master.passwd
 .if defined(UNPRIVED)
-       echo "${DESTDIR}/etc/passwd type=file mode=0644 uname=root gname=wheel" \
-               | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
-       echo "${DESTDIR}/etc/pwd.db type=file mode=0644 uname=root gname=wheel" \
-               | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
-       echo "${DESTDIR}/etc/spwd.db type=file mode=0600 uname=root gname=wheel" \
-               | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
+       ( \
+           echo "/etc/passwd type=file mode=0644 uname=root gname=wheel"; \
+           echo "/etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \
+           echo "/etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \
+       ) | \
+           sed -e "s|^/|./${DESTDIR}/|g" -e "s|//|/|g" | ${CAT} -l >>${METALOG}
 .endif # UNPRIVED
        ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
             MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev



Home | Main Index | Thread Index | Old Index