mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-14 05:15:11 -05:00
bf0e8e6b43
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> |
||
---|---|---|
.. | ||
lint_package | ||
lint_pkgbuild | ||
source | ||
tidy | ||
util | ||
.gitignore | ||
lint_package.sh.in | ||
lint_pkgbuild.sh.in | ||
source.sh.in | ||
tidy.sh.in | ||
util.sh.in |