> Should it be an equality operator instead of an assigning one?  i.e:
> 
> [ "$ONLY_LIST" == "y" ] && return

1) Please don't top post
2) It's the same thing ... = and == in shell scripting.

M
> 
> On Sat, Dec 3, 2011 at 3:57 PM, Mike Frysinger <vap...@gentoo.org> wrote:
> > On Saturday 03 December 2011 02:32:03 Marek Vasut wrote:
> >> +     if [ "$ONLY_LIST" == 'y' ] ; then return ; fi
> > 
> > [ "$ONLY_LIST" = "y" ] && return
> > -mike
> > 
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot@lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
> 
> Thanks.
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to