Greg KH schrieb:
>>> src_install() {
>>>     doman bti.1
>>>     dobin bti
>>>     dodoc bti.example README RELEASE-NOTES
>>> }
>> You really should have some or all of these functions die on failure.
> 
> Why would any of these fail if the src_compile succeeded?

What happens, if upstream changes the name of the binary on version bump or 
changes the compile
output location?

> 
> And, for some reason I thought that the default was that if there was an
> error in them, they would "die" on their own.  Is that not the case?

Sadly not. Some functions do die (like epatch or econf), others do not (like 
emake, dobin,
doman....). If i remember correctly, those that are external functions do die, 
the others do not.


-- 
Thomas Sachau

Gentoo Linux Developer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to