> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Leonard den Ottolander > Sent: Thursday, May 26, 2011 12:23 > To: CentOS mailing list > Subject: Re: [CentOS] yum check-updates script not working correctly > > Hello Tod, > > On Thu, 2011-05-26 at 10:53 -0400, Denniston, Todd A CIV > NAVSURFWARCENDIV Crane wrote: > > The single '=' sign does assignment, a double '==' does string > compare. > > No, with the spaces around the '=' and the dollar before the variable > name this actually is a test not an assignment. But using double '=' is > more clear, agreed. Try > Thanks for the info.