FS#48101 - [namcap] no warning if non-array variables are an array
Attached to Project:
Arch Linux
Opened by john (MiS) - Monday, 08 February 2016, 19:59 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 18 February 2018, 04:42 GMT
Opened by john (MiS) - Monday, 08 February 2016, 19:59 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 18 February 2018, 04:42 GMT
|
Details
While building a package from AUR makepkg failed because
the
install= variable in the PKGBUILD was an array. Running namcap against the PKGBUILD gives no warning. Version: namcap-3.2.6-1 Steps to reproduce: - make the install= variable in a PKGBUILD an array - run 'namcap PKGBUILD' Not sure if it's really necessary and maybe then all variables that must not be an array should be checked. Anyways, the attached patch fixes it for install= and url= variables. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 18 February 2018, 04:42 GMT
Reason for closing: Not a bug
Additional comments about closing: namcap does not need to warn about packages that literally don't build because makepkg considers them an error
Sunday, 18 February 2018, 04:42 GMT
Reason for closing: Not a bug
Additional comments about closing: namcap does not need to warn about packages that literally don't build because makepkg considers them an error
Both cases are rejected by makepkg.