NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/42658: make(1) .include not properly handling directories with spaces in name



>Number:         42658
>Category:       bin
>Synopsis:       make in a directory with spaces prints error with .include
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 22 06:50:00 +0000 2010
>Originator:     Geoff C. Wing
>Release:        NetBSD 5.99.24
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 5.99.24 NetBSD 5.99.24 (G) #2: Fri Jan 22 
16:39:24 EST 2010 
gcw%g.primenet.com.au@localhost:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
        make(1) when run with a ".include" directive in a directory
        with spaces attempts to cd to a wrong directory.

        $ mkdir "/tmp/foo bar"
        $ cd "/tmp/foo bar"
        $ echo '.include <bsd.own.mk>' | make -f -
        cd: can't cd to bar bar
        $ mkdir "/tmp/foo bar baz"
        $ cd "/tmp/foo bar baz"
        $ echo '.include <bsd.own.mk>' | make -f -
        cd: can't cd to bar bar baz
        
>How-To-Repeat:
        See up
>Fix:
        ?



Home | Main Index | Thread Index | Old Index