svn commit: r183727 - head/tools/tools/nanobsd

Nick Hibma n_hibma at FreeBSD.org
Thu Oct 9 18:06:28 UTC 2008


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 ..


More information about the svn-src-head mailing list