From 9dcc9c2cd561f5638f7a41283c8e85b4667d7e71 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Thu, 9 Oct 2008 18:06:28 +0000 Subject: Avoid failing if the directory already exists (when restarting at customize). MFC after: 2 days --- tools/tools/nanobsd/nanobsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 3556cdd..00ad156 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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 .. -- cgit v1.1