[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 2579 - trunk/packages/rpm

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-18 20:20:55 CEST

On Thu, Jul 18, 2002 at 12:51:18PM -0500, david@tigris.org wrote:
>...
> + if [ -f /sbin/install-info -a -x /sbin/install-info ]; then

You can just test using -x /sbin/install-info. If the file isn't there, then
the -x test will return "false".

>...
> + if [ -f /sbin/install-info -a -x /sbin/install-info ]; then

Same.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 20:19:12 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.