On Tue, 20 Nov 2001, Conor MacNeill <[EMAIL PROTECTED]>
wrote:

> The changes check for the existence of /bin/rpm to control whether
> the rpm build is attempted.

Wouldn't it be better to do something like

<property environment="env" />
<condition property="rpm.present">
  <or>
    <available file="rpm" filepath="${env.PATH}" />
    <available file="rpm.exe" filepath="${env.PATH}" />
  </or>
</condition>

which should check for rpm in PATH on most platforms.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to