On Mon, 6 Jun 2011 23:20:13 +0200 (CEST)
Vincent Torri <vto...@univ-evry.fr> wrote:

> 
> 
> On Mon, 6 Jun 2011, Enlightenment SVN wrote:
> 
> > Log:
> > fix configure on captainigloo's system
> 
> and replacing
> 
> test -n $mount_v -a $(echo $mount_v | cut -d'.' -f2) -lt 19
> 
> by
> 
> test -n $mount_v && test "$(echo $mount_v | cut -d'.' -f2)" -lt 19
> 
> ?
> 
> Vincent
> 
> >
> >
> > Author:       discomfitor
> > Date:         2011-06-06 12:14:32 -0700 (Mon, 06 Jun 2011)
> > New Revision: 60001
> > Trac:         http://trac.enlightenment.org/e/changeset/60001
> >
> > Modified:
> >  trunk/eeze/configure.ac
> >
> > Modified: trunk/eeze/configure.ac
> > ===================================================================
> > --- trunk/eeze/configure.ac 2011-06-06 17:49:58 UTC (rev 60000)
> > +++ trunk/eeze/configure.ac 2011-06-06 19:14:32 UTC (rev 60001)
> > @@ -129,7 +129,11 @@
> >   fi
> >   AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use])
> > fi
> > -AM_CONDITIONAL([OLD_LIBMOUNT], [test -n $mount_v -a $(echo $mount_v | cut
> > -d'.' -f2) -lt 19]) +if test -n "$mount_v";then
> > +  AM_CONDITIONAL([OLD_LIBMOUNT], [test "$(echo $mount_v | cut -d'.' -f2)"
> > -lt 19]) +else
> > +  AM_CONDITIONAL([OLD_LIBMOUNT], [false])
> > +fi
> > if test -z "$OLD_LIBMOUNT_TRUE" ; then
> >   AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])
> > fi
> >
> >
> > ------------------------------------------------------------------------------
> > Simplify data backup and recovery for your virtual environment with vRanger.
> > Installation's a snap, and flexible recovery options mean your data is safe,
> > secure and there when you need it. Discover what all the cheering's about.
> > Get your free trial download today.
> > http://p.sf.net/sfu/quest-dev2dev2
> > _______________________________________________
> > enlightenment-svn mailing list
> > enlightenment-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
> >
> 
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
the difference is that adding quotation marks forces the shell to explicitly
treat the test case as a string, so if $mount_v is "", it will be a testable
value.

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to