On Tue, Jul 25, 2006, Bill Campbell wrote:

> On Tue, Jul 25, 2006, William M. Fennell wrote:
> >Hi folks,
> >
> >I'm trying this command and it is failing:
> >/ilocal/bin/openpkg rpm --rebuild
> >/n/e4/OPENPKG/UPD/openssh-4.3p2-2.20060622.src.rpm --define "with_fsl
> >yes" --define "with_pam yes" --define "with_x11 yes" --define "with_wrap
> >yes"
>
> Shouldn't that be (e.g the --defines before the name of the
> src.rpm file).
>
> ...openpkg rpm --define 'with_pam yes' --define 'with_wrap yes'
> ...
> [...]

OpenPKG RPM is based on the rather sophisticated POPT argument parsing
library library and POPT is smart enough to allow options at an
arbitrary position in the argument line. So the above is fully fine,
although certainly a little bit "unusual" for the strict Unix hacker ;-)

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to