Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2011 18:46:20 +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: r221852 - head/tools/tools/nanobsd
Message-ID:  <201105131846.p4DIkKrv079432@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri May 13 18:46:20 2011
New Revision: 221852
URL: http://svn.freebsd.org/changeset/base/221852

Log:
  Add ${} around variable dereference...
  
  Submitted by:	garrett coopper

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

Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh	Fri May 13 18:36:24 2011	(r221851)
+++ head/tools/tools/nanobsd/nanobsd.sh	Fri May 13 18:46:20 2011	(r221852)
@@ -567,7 +567,7 @@ create_i386_diskimage ( ) (
 		dd if=/dev/${MD} of=${IMG} bs=64k
 	fi
 
-	if do_copyout_partition ; then
+	if ${do_copyout_partition} ; then
 		echo "Writing out _.disk.image..."
 		dd if=/dev/${MD}s1 of=${NANO_DISKIMGDIR}/_.disk.image bs=64k
 	fi



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