From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 29 21:50:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74291065670 for ; Tue, 29 Apr 2008 21:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BCF5E8FC1C for ; Tue, 29 Apr 2008 21:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3TLo5hS047450 for ; Tue, 29 Apr 2008 21:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3TLo527047449; Tue, 29 Apr 2008 21:50:05 GMT (envelope-from gnats) Resent-Date: Tue, 29 Apr 2008 21:50:05 GMT Resent-Message-Id: <200804292150.m3TLo527047449@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nick@anywi.com Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D0041065674 for ; Tue, 29 Apr 2008 21:44:37 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml17.kpnxchange.com (hpsmtp-eml17.kpnxchange.com [213.75.38.117]) by mx1.freebsd.org (Postfix) with ESMTP id 12CFE8FC19 for ; Tue, 29 Apr 2008 21:44:36 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpi-eml06.kpnxchange.com ([213.75.38.136]) by hpsmtp-eml17.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 23:32:32 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtpi-eml06.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 23:32:32 +0200 Received: (qmail 55841 invoked by uid 98); 29 Apr 2008 21:32:31 -0000 Received: from 10.66.0.129 by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:1(10.66.0.129):. Processed in 0.726118 secs); 29 Apr 2008 21:32:31 -0000 Received: from unknown (HELO van-laarhoven.org) (10.66.0.129) by uitsmijter.van-laarhoven.org with SMTP; 29 Apr 2008 21:32:30 -0000 Received: (nullmailer pid 61854 invoked by uid 1001); Tue, 29 Apr 2008 21:32:09 -0000 Message-Id: <1209504729.211268.61853.nullmailer@van-laarhoven.org> Date: Tue, 29 Apr 2008 23:32:09 +0200 From: nick@anywi.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/123240: rerunning nanobsd.inc.sh fails because of existing directory X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 21:50:06 -0000 >Number: 123240 >Category: misc >Synopsis: rerunning nanobsd.inc.sh fails because of existing directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 29 21:50:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 7.0-STABLE i386 >Organization: AnyWi Technologies >Environment: System: FreeBSD hilde.van-laarhoven.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Apr 16 10:26:44 CEST 2008 root@hilde.van-laarhoven.org:/usr/src/sys/i386/compile/HILDE i386 >Description: ## configure nanobsd setup ### log: /usr/obj/nanobsd.VideoConnection/_.dl # spent 4 seconds Img Bld: FAILED nick@hilde:~/AnyWi/demos/VideoConnection % tail /usr/obj/nanobsd.VideoConnection/_.dl mkdir: etc/local: File exists >How-To-Repeat: I don't know how to repeat it in the plain nanobsd.inc.sh case. >Fix: Index: nanobsd.sh =================================================================== RCS file: /home/ncvs/src/tools/tools/nanobsd/nanobsd.sh,v retrieving revision 1.28 diff -w -u -r1.28 nanobsd.sh --- nanobsd.sh 26 Aug 2007 14:57:08 -0000 1.28 +++ nanobsd.sh 29 Apr 2008 21:28:04 -0000 @@ -244,7 +244,7 @@ # 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 .. >Release-Note: >Audit-Trail: >Unformatted: