Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/postinstall Make sure that the "to fix, run: ..." i...
details: https://anonhg.NetBSD.org/src/rev/84c587ef3d60
branches: trunk
changeset: 781677:84c587ef3d60
user: ast <ast%NetBSD.org@localhost>
date: Sat Sep 22 09:20:06 2012 +0000
description:
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
diffstat:
usr.sbin/postinstall/postinstall | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r ce75c5e1f65d -r 84c587ef3d60 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Sat Sep 22 01:48:50 2012 +0000
+++ b/usr.sbin/postinstall/postinstall Sat Sep 22 09:20:06 2012 +0000
@@ -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 @@
[ "$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
Home |
Main Index |
Thread Index |
Old Index