mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -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> |
||
---|---|---|
.. | ||
libmakepkg | ||
library | ||
po | ||
.gitignore | ||
Makefile.am | ||
makepkg-template.pl.in | ||
makepkg-wrapper.sh.in | ||
makepkg.sh.in | ||
pacman-db-upgrade.sh.in | ||
pacman-key.sh.in | ||
pacman-optimize.sh.in | ||
pkgdelta.sh.in | ||
repo-add.sh.in |