NetBSD-Bugs archive

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

bin/41998: /usr/bin/make: .for loop + ":" inside iter_var = bug

>Number:         41998
>Category:       bin
>Synopsis:       /usr/bin/make: .for loop + ":" inside iter_var = bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 05 20:15:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.0_STABLE
System: NetBSD 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #6: 
Tue Aug 18 00:53:31 EEST 2009 i386
Architecture: i386
Machine: i386

    var = head
    res = no

    .for i in head:tail
    .if !empty(var:M${i:C/:.*//})

        @echo ${res}

shell session:
    0 ~>/usr/bin/make -f /home/cheusov/tmp/ all 
    make: Bad modifier `:tail' for 
    0 ~>

This is how NetBSD-5 make and current make work.

The problem here is that "head" and "tail" are separated by colon.

!! Simon Gerraty asked to assign this bug to him. !!



Home | Main Index | Thread Index | Old Index