Module Name:    src
Committed By:   ast
Date:           Sat Sep 22 09:20:07 UTC 2012

Modified Files:
        src/usr.sbin/postinstall: postinstall

Log Message:
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.146 -r1.147 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.146 src/usr.sbin/postinstall/postinstall:1.147
--- src/usr.sbin/postinstall/postinstall:1.146	Wed Aug 15 16:21:41 2012
+++ src/usr.sbin/postinstall/postinstall	Sat Sep 22 09:20:06 2012
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.146 2012/08/15 16:21:41 apb Exp $
+# $NetBSD: postinstall,v 1.147 2012/09/22 09:20:06 ast Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -2069,7 +2069,7 @@ main()
 			[ "$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

Reply via email to