Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall Pass -d option to pwd_mkdb(8) in order ...



details:   https://anonhg.NetBSD.org/src/rev/173cc87638e3
branches:  trunk
changeset: 777512:173cc87638e3
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Tue Feb 21 12:31:18 2012 +0000

description:
Pass -d option to pwd_mkdb(8) in order to make databases at proper location.

diffstat:

 usr.sbin/postinstall/postinstall |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r c7b2f4a434bd -r 173cc87638e3 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Tue Feb 21 12:30:32 2012 +0000
+++ b/usr.sbin/postinstall/postinstall  Tue Feb 21 12:31:18 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.131 2012/02/18 17:49:28 njoly Exp $
+# $NetBSD: postinstall,v 1.132 2012/02/21 12:31:18 nakayama Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1135,7 +1135,7 @@
        if [ "${op}" = "check" ]; then
                msg "Update format of passwd database"
                failed=1
-       elif ! ${PWD_MKDB} -V 1 ${DEST_DIR}/etc/master.passwd; then
+       elif ! ${PWD_MKDB} -V 1 -d ${DEST_DIR} ${DEST_DIR}/etc/master.passwd; then
                msg "Can't update format of passwd database"
                failed=1
        else



Home | Main Index | Thread Index | Old Index