Bug#782150: pbuilder: pdebuild fails with --changes-option=-[AaBbFg] or just -g
Mattia Rizzolo
mattia at debian.org
Thu Dec 31 15:44:21 UTC 2015
On Thu, Dec 31, 2015 at 03:01:51PM +0100, Ondřej Surý wrote:
> I think the regex has to be split in two:
>
> perl -pe 's/(^|\s|=|'\'')?-[AbBFgG]?('\''|\s|$)/$1$2/g' | \
> perl -pe 's/(^|\s|=)['\'']['\''](\s|$)/$1$2/g' | \
>
> which works for me fine
Looks sane, I could do it, but just a question:
why did you add the ? after the [AbBFgG] ?
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151231/96f9903b/attachment.sig>
More information about the Pbuilder-maint
mailing list