[BusyBox] If statements.. using ASH

Edmund Troche edmund at troche.org
Tue May 21 13:47:03 UTC 2002


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


Edmund Troche

[KrutAw at 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 at busybox.net
> http://busybox.net/mailman/listinfo/busybox




More information about the busybox mailing list