Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 18:06:28 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r183727 - head/tools/tools/nanobsd
Message-ID:  <200810091806.m99I6S11068064@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: n_hibma
Date: Thu Oct  9 18:06:28 2008
New Revision: 183727
URL: http://svn.freebsd.org/changeset/base/183727

Log:
  Avoid failing if the directory already exists (when restarting at customize).
  
  MFC after:	2 days

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

Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh	Thu Oct  9 17:52:47 2008	(r183726)
+++ head/tools/tools/nanobsd/nanobsd.sh	Thu Oct  9 18:06:28 2008	(r183727)
@@ -281,7 +281,7 @@ setup_nanobsd ( ) (
 	# have hardcoded paths under ${prefix}/etc are not tweakable.
 	if [ -d usr/local/etc ] ; then
 		(
-		mkdir etc/local
+		mkdir -p etc/local
 		cd usr/local/etc
 		find . -print | cpio -dumpl ../../../etc/local
 		cd ..



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