Module Name: src
Committed By: bouyer
Date: Sun Sep 30 18:59:53 UTC 2012
Modified Files:
src/usr.sbin/postinstall [netbsd-6]: postinstall
Log Message:
Pull up following revision(s) (requested by ast in ticket #568):
usr.sbin/postinstall/postinstall: revision 1.147
Make sure that the "to fix, run: ..." instructions actually work cut-and-paste
By default postinstall has mode 644 so /bin/sh or similar needs to be prepended
To generate a diff of this commit:
cvs rdiff -u -r1.129.2.9 -r1.129.2.10 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.129.2.9 src/usr.sbin/postinstall/postinstall:1.129.2.10
--- src/usr.sbin/postinstall/postinstall:1.129.2.9 Wed Aug 15 17:36:46 2012
+++ src/usr.sbin/postinstall/postinstall Sun Sep 30 18:59:53 2012
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.129.2.9 2012/08/15 17:36:46 sborrill Exp $
+# $NetBSD: postinstall,v 1.129.2.10 2012/09/30 18:59:53 bouyer Exp $
#
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -2077,7 +2077,7 @@ EOF
[ "$MACHINE" = "$(uname -m)" ] && m= || m=" -m $MACHINE"
cat <<_Fix_me_
To fix, run:
- ${0} ${SRC_ARGLIST} -d ${DEST_DIR:-/}$m fix${items_failed}
+ ${HOST_SH} ${0} ${SRC_ARGLIST} -d ${DEST_DIR:-/}$m fix${items_failed}
Note that this may overwrite local changes.
_Fix_me_
fi