[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] If statements.. using ASH
From:       Edmund Troche <edmund () troche ! org>
Date:       2002-05-21 13:47:03
[Download RAW message or body]

Normally there's a soft link from test to '['. Try "ln -s test", and see if this
fixes your problem.


Edmund Troche

[KrutAw@aol.com wrote:

> I'm currently unable to run an if statement with busybox 0.60.3 compiled with
> uclibc.
>
> Here's an example of the if statement I'm trying to run in my bash script:
>
> CMDLINEPARAM=1
> if [ $# -ge $CMDLINEPARAM ]
> then
>        NAME=$1
> else
>        NAME="blah"
> fi
>
> What am I doing wrong here?
>
> Thanks,
>
> Andy Kruta CNA, A+, Net+
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic