Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 10:39:04 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300198 - head/tools/tools/nanobsd
Message-ID:  <201605191039.u4JAd4lR088451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: maxim
Date: Thu May 19 10:39:04 2016
New Revision: 300198
URL: https://svnweb.freebsd.org/changeset/base/300198

Log:
  o Remove EoL whitespaces.

Modified:
  head/tools/tools/nanobsd/defaults.sh
  head/tools/tools/nanobsd/nanobsd.sh

Modified: head/tools/tools/nanobsd/defaults.sh
==============================================================================
--- head/tools/tools/nanobsd/defaults.sh	Thu May 19 10:37:44 2016	(r300197)
+++ head/tools/tools/nanobsd/defaults.sh	Thu May 19 10:39:04 2016	(r300198)
@@ -195,7 +195,7 @@ NANO_DATADIR=""
 # in case they are stray in the build environment
 SRCCONF=/dev/null
 SRC_ENV_CONF=/dev/null
- 
+
 #######################################################################
 #
 # The functions which do the real work.
@@ -319,7 +319,7 @@ make_conf_build ( ) (
 	# in addition to the user's global settings
 	(
 	nano_global_make_env
-	echo "${CONF_WORLD}" 
+	echo "${CONF_WORLD}"
 	echo "${CONF_BUILD}"
 	) > ${NANO_MAKE_CONF_BUILD}
 )
@@ -429,7 +429,7 @@ install_kernel ( ) (
 	(
 
 	nano_make_install_env
-	nano_make_kernel_env    
+	nano_make_kernel_env
 
 	if [ "${NANO_MODULES}" != "default" ]; then
 		MODULES_OVERRIDE="${NANO_MODULES}"
@@ -465,7 +465,7 @@ run_early_customize() {
 
 	pprint 2 "run early customize scripts"
 	for c in $NANO_EARLY_CUSTOMIZE
-	do      
+	do
 		pprint 2 "early customize \"$c\""
 		pprint 3 "log: ${NANO_LOG}/_.early_cust.$c"
 		pprint 4 "`type $c`"
@@ -529,7 +529,7 @@ fixup_before_diskimage ( ) (
 		echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" > ${NANO_METALOG}
 		cat ${NANO_METALOG}.pre | ${NANO_TOOLS}/mtree-dedup.awk | \
 		    sed -e 's/ size=[0-9][0-9]*//' | sort >> ${NANO_METALOG}
-	fi	
+	fi
 )
 
 setup_nanobsd ( ) (
@@ -603,11 +603,11 @@ setup_nanobsd_etc ( ) (
 
 prune_usr ( ) (
 
-	# Remove all empty directories in /usr 
+	# Remove all empty directories in /usr
 	find "${NANO_WORLDDIR}"/usr -type d -depth -print |
 		while read d
 		do
-			rmdir $d > /dev/null 2>&1 || true 
+			rmdir $d > /dev/null 2>&1 || true
 		done
 )
 
@@ -676,7 +676,7 @@ create_diskimage ( ) (
 		else
 			print "g c" 1023 " h" $4 " s" $3
 
-		if ($7 > 0) { 
+		if ($7 > 0) {
 			# size of data partition in full cylinders
 			dsl = int (($7 + cs - 1) / cs)
 		} else {
@@ -697,7 +697,7 @@ create_diskimage ( ) (
 		print "p 1 165 " $3, isl * cs - $3
 		c = isl * cs;
 
-		# Second image partition (if any) also starts offset one 
+		# Second image partition (if any) also starts offset one
 		# track to keep them identical.
 		if ($2 > 1) {
 			print "p 2 165 " $3 + c, isl * cs - $3
@@ -780,7 +780,7 @@ create_diskimage ( ) (
 			tunefs -L ${NANO_LABEL}"${NANO_ALTROOT}" /dev/${MD}${NANO_ALTROOT}
 		fi
 	fi
-	
+
 	# Create Config slice
 	populate_cfg_slice /dev/${MD}${NANO_SLICE_CFG} "${NANO_CFGDIR}" ${MNT} "${NANO_SLICE_CFG}"
 

Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh	Thu May 19 10:37:44 2016	(r300197)
+++ head/tools/tools/nanobsd/nanobsd.sh	Thu May 19 10:39:04 2016	(r300198)
@@ -55,7 +55,7 @@ set -e
 set -- $args
 for i
 do
-	case "$i" 
+	case "$i"
 	in
 	-K)
 		do_installkernel=false



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605191039.u4JAd4lR088451>