Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 16:28:14 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291860 - in head/tools/tools/nanobsd: . embedded
Message-ID:  <201512051628.tB5GSEnr024370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Dec  5 16:28:14 2015
New Revision: 291860
URL: https://svnweb.freebsd.org/changeset/base/291860

Log:
  Stupid last minute changes: Add missing } and fi
  
  Pointed out by: Howard Su

Modified:
  head/tools/tools/nanobsd/defaults.sh   (contents, props changed)
  head/tools/tools/nanobsd/embedded/common

Modified: head/tools/tools/nanobsd/defaults.sh
==============================================================================
--- head/tools/tools/nanobsd/defaults.sh	Sat Dec  5 15:09:19 2015	(r291859)
+++ head/tools/tools/nanobsd/defaults.sh	Sat Dec  5 16:28:14 2015	(r291860)
@@ -961,7 +961,7 @@ set_defaults_and_export ( ) {
 	[ ! -d "${NANO_TOOLS}" ] && [ -d "${NANO_SRC}/${NANO_TOOLS}" ] && \
 		NANO_TOOLS="${NANO_SRC}/${NANO_TOOLS}" || true
 
-	[ ! -z "${NANO_NOPRIV_BUILD" ] && [ -z "${NANO_METALOG}"] && \
+	[ ! -z "${NANO_NOPRIV_BUILD}" ] && [ -z "${NANO_METALOG}"] && \
 		NANO_METALOG=${NANO_OBJ}/_.metalog || true
 
 	NANO_STARTTIME=`date +%s`

Modified: head/tools/tools/nanobsd/embedded/common
==============================================================================
--- head/tools/tools/nanobsd/embedded/common	Sat Dec  5 15:09:19 2015	(r291859)
+++ head/tools/tools/nanobsd/embedded/common	Sat Dec  5 16:28:14 2015	(r291860)
@@ -359,6 +359,7 @@ create_diskimage ( ) (
 		mkimg -s mbr -p ${s1}:=${NANO_OBJ}/_.s1 \
 			-p ${s2}:=${NANO_OBJ}/_.s2
 			-o ${NANO_OBJ}/_.disk.image.${NANO_NAME}
+	fi
 	) > ${NANO_OBJ}/_.di 2>&1
 )
 



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