Module Name: src
Committed By: nakayama
Date: Tue Feb 21 12:31:19 UTC 2012
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
Pass -d option to pwd_mkdb(8) in order to make databases at proper location.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.131 src/usr.sbin/postinstall/postinstall:1.132
--- src/usr.sbin/postinstall/postinstall:1.131 Sat Feb 18 17:49:28 2012
+++ src/usr.sbin/postinstall/postinstall Tue Feb 21 12:31:18 2012
@@ -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 @@ do_pwd_mkdb()
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