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

Re: Autoconf build targets



Le lun 20/05/2002 à 21:32, Thomas Poindessous a écrit :
> >   What does line 1292 look like?  This sounds like a possible bash or
> > ash bug to me.. (not sure which)
> 
> First, bash doesn't like something like this :
> 
>         controllers=$(
>                 dmesg | while read first rest; do
>                         case "$first" in
>                         RocketPort[0-4])
>                                 echo "$first"
>                                 ;;
>                         esac
>                 done
>         )
> 
> ash handles it.

My mistake, ash doesn't handle it. I took the MAKEDEV posted below and I
replaced every rm, chmod by #rm and #chmod, I changed the mknod function
to a echo, and I tried ash ./MAKEDEV all, and it quits at :

syntax error near unexpected token `)'

in portion :
ttyR?)
        major=81
        BOARD=1; Rnum=0
        MINOR=$(($BOARD * 65536))
        controllers=$(
                dmesg | while read first rest; do
                        case "$first" in
                        RocketPort[0-4])
                                echo "$first"
                                ;;
                        esac
                done
        )

 
-- 
Thomas Poindessous
thomas@poindessous.com


--
To UNSUBSCRIBE, email to debian-bsd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: