Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Refactor lint_source to work with earlier versions of Bash | Aaron Campbell | 2015-11-05 |
| | | | | | | | | | | | Negative subscripts to indexed arrays are not supported before 4.2. However, since substring expansion works on arrays, we can specify an offset of -1 to be taken relative to one greater than the maximum index of the specified array (see Parameter Expansion section of the bash man page). This works with both Bash 4.1 and 4.2, and 4.1 is already the oldest supported by pacman. Signed-off-by: Aaron Campbell <aaron@monkey.org> Signed-off-by: Allan McRae <allan@archlinux.org> | ||
* | libmakepkg: extract PKGBUILD linting functions | Allan McRae | 2015-05-16 |
Signed-off-by: Allan McRae <allan@archlinux.org> |