[Pkg-fonts-devel] Bug#772687: fonts-droid: fallback font is installed too early to fontconfig

Jonas Smedegaard dr at jones.dk
Mon Dec 29 18:24:29 UTC 2014

Quoting Vasudev Kamath (2014-12-29 17:44:54)
> Jonas Smedegaard <dr at jones.dk> writes:
>> But (judging only from above comments) there might be another issue 
>> with that loop not handling errors correctly.  Perhaps as simple as a 
>> "set -e" (although I seem to recall that maintainer scripts shouldn't 
>> blindly do that).
> Yes, there should be probably a declaration
> SHELL := sh -e
> which would error out when anything in shell command goes wrong. But I 
> think its better to target this post Jessie.

I recommend to not unconditonally instruct make to fail any and all 
shell invocations, but care for error handling separately for each call.

E.g. when using pipes, failures may be hidden, which I fear has a higher 
risk of being missed if not every single shell call is inspected for 
error handling.

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20141229/b03ffe48/attachment.sig>

More information about the Pkg-fonts-devel mailing list