Dnia 2014-08-31, o godz. 14:14:20
Pacho Ramos <[email protected]> napisał(a):

> This tries to solve:
> https://bugs.gentoo.org/show_bug.cgi?id=519682
> 
> Looks to do the job but maybe there are shorter or saner ways of doing
> it

There are no sane ways of doing this. For a sane alternative, take
a look at python_gen_any_dep().

Long story short, define a list of allowed variables and do:

  x=${x//\${PF}/${PF}}
  x=${x//\${PN}/${PN}}

etc.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to