[pacman-dev] [namcap] Released version 3.0.3

Dan McGee dpmcgee at gmail.com
Sun Mar 27 15:13:24 EDT 2011


On Sun, Mar 27, 2011 at 4:54 AM, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> On 2011/3/27 Eric Bélanger <snowmaniscool at gmail.com> wrote:
>> Hi,
>>
>> I'm still getting this false positive:
>> PKGBUILD (wxsvg) W: Non standard variable 'fvwm_icon_width' doesn't
>> start with an underscore
>>
>> Wasn't Dan's patch supposed to fix that?
>
> No, Dan's patch is for variables declared in the PKGBUILD, it does not
> ignore environment variables. I suggest two possible fixes:
> * add a "/usr/bin/env -i" in /usr/bin/parsepkgbuild so that it ignores
> your environment
> * modify also the Python code to check that the name of the culprit
> variable actually exists in the PKGBUILD
>
> Maybe both.

The first seems like the more correct solution here.

-Dan


More information about the pacman-dev mailing list