Re: %install section script problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 20, 2004 at 01:10:23PM -0400, Greg Allen wrote:

>    source <script>
>    func <x> <y> <z>

What do you do want to do with the return code of 'func'?
Nothing?  Then do:

	func <x> <y> <z> || /bin/true

Or let func never return a non-zero return code.

> For some reason, when run inside rpmbuild, the failure of the egrep call is causing the 
> while loop to be exited!  I have no idea why.

Because 'func' returns 1111.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux