misc/123240: rerunning nanobsd.inc.sh fails because of existing directory

nick at anywi.com nick at anywi.com
Tue Apr 29 21:50:06 UTC 2008


>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 at 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 at 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:


More information about the freebsd-bugs mailing list