svn commit: r220350 - head/usr.sbin/bsdinstall

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue Apr 5 03:09:44 UTC 2011


Author: nwhitehorn
Date: Tue Apr  5 03:09:44 2011
New Revision: 220350
URL: http://svn.freebsd.org/changeset/base/220350

Log:
  Improve logging by always sending stderr to the installation log file.
  Reduce warnings by making sure the temporary etc directory exists.

Modified:
  head/usr.sbin/bsdinstall/bsdinstall

Modified: head/usr.sbin/bsdinstall/bsdinstall
==============================================================================
--- head/usr.sbin/bsdinstall/bsdinstall	Tue Apr  5 01:51:30 2011	(r220349)
+++ head/usr.sbin/bsdinstall/bsdinstall	Tue Apr  5 03:09:44 2011	(r220350)
@@ -38,5 +38,7 @@ if [ -z $VERB ]; then
 	VERB=auto
 fi
 
-exec /usr/libexec/bsdinstall/$VERB $@
+test -d "$BSDINSTALL_TMPETC" || mkdir "$BSDINSTALL_TMPETC"
+echo Running installation step: $VERB $@ >> "$BSDINSTALL_LOG"
+exec /usr/libexec/bsdinstall/$VERB $@ 2>>"$BSDINSTALL_LOG"
 


More information about the svn-src-all mailing list