¡Hola Dmitry y Niels!

El 2015-03-25 a las 17:11 +1100, Dmitry Smirnov escribió:
On Wed, 25 Mar 2015 07:03:37 Niels Thykier wrote:
A new argument is a much safer choice from my PoV.

True but since old "--exclude" argument is somewhat broken, perhaps it could be fixed with next compatibility level bump? Just a thought...

I'm not really sure whether to retitle this bug or to submit a new one, but the issue is about the same, it would be nice to have some improvements in
debhelper's exclude option.

The current implementation ends up using the values in a find -regex after escaping some shell chars. Making it unnecessarily hard to exclude a file in a multiarch path (for example, excluding plugins in dh_makeshlibs).

Just to make the behaviour more bizarre, if the item contains a space then the list of chars that are escaped are much shorter, thus it's possible but quite awful to use exclude values such as:
-X' ?usr/lib/[^/]*/?plugins/'

(Which is close to what I ended up using, because of the lintian's pkg-has-shlibs-control-file-but-no-actual-shared-libs check that now produces an error on signon-kwallet-extension if not.)

Happy hacking,
--
"The best way to predict the future is to invent it."
-- Alan Kay
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature

Reply via email to