svn commit: r292997 - head/sys/conf

Ed Maste emaste at FreeBSD.org
Thu Dec 31 19:25:37 UTC 2015


Author: emaste
Date: Thu Dec 31 19:25:35 2015
New Revision: 292997
URL: https://svnweb.freebsd.org/changeset/base/292997

Log:
  newvers.sh: put variable assignments on separate lines
  
  This makes it easier to grep for where they're set, and may simplify
  future merging for FreeBSD derivatives that change these.

Modified:
  head/sys/conf/newvers.sh

Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh	Thu Dec 31 19:00:45 2015	(r292996)
+++ head/sys/conf/newvers.sh	Thu Dec 31 19:25:35 2015	(r292997)
@@ -97,7 +97,10 @@ then
 fi
 
 touch version
-v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`}
+v=`cat version`
+u=${USER:-root}
+d=`pwd`
+h=${HOSTNAME:-`hostname`}
 if [ -n "$SOURCE_DATE_EPOCH" ]; then
 	if ! t=`date -r $SOURCE_DATE_EPOCH 2>/dev/null`; then
 		echo "Invalid SOURCE_DATE_EPOCH" >&2


More information about the svn-src-all mailing list