rcS shell?
Mike Frysinger
vapier at gentoo.org
Sat Dec 10 15:04:10 UTC 2005
On Fri, Dec 09, 2005 at 10:52:00PM -0800, Siddharth Taneja wrote:
> PLATFORM =`customscript -p`
the space after the var name is illegal
PLATFORM=`customscript -p`
> if [ $PLATFORM = "myplat"] ; then
everyone else already pointed out the space you're missing here
however, you should also quote $PLATFORM because if it contains spaces,
it will trigger errors too
if [ "$PLATFORM" = "myplat" ] ; then
-mike
More information about the busybox
mailing list