FS#46959 - "should be an array" check reports false positives
Attached to Project:
Pacman
Opened by David Macek (Elieux) - Tuesday, 03 November 2015, 16:03 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 November 2015, 23:13 GMT
Opened by David Macek (Elieux) - Tuesday, 03 November 2015, 16:03 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 November 2015, 23:13 GMT
|
Details
Summary and Info:
libmakepkg (variable.sh, to be precise) reports false positives sometimes. See example below. dreisner: variable.sh is at fault because it uses grep instead of the extraction voodoo that i wrote Steps to Reproduce: $ cat PKGBUILD pkgname=boo pkgver=0 pkgrel=1 arch=('any') package() { echo --with-arch=${_arch} } $ makepkg ==> ERROR: arch should be an array |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 28 November 2015, 23:13 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 23f128ad5e2b
Saturday, 28 November 2015, 23:13 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 23f128ad5e2b