makepkg: detect incorrect usage of provides array
commit2f59996c54da473294de4adf44d521299a045a84
authorAllan McRae <allan@archlinux.org>
Thu, 1 Jan 2009 18:07:13 +0000 (2 04:07 +1000)
committerDan McGee <dan@archlinux.org>
Sat, 3 Jan 2009 04:46:47 +0000 (2 22:46 -0600)
tree5d7789f02e885afda7213085f8d9c2e918f3643f
parentf4651c49af94164f2c129ea6eb3d78b86be4d5bc
makepkg: detect incorrect usage of provides array

Using > or < in the provides array is wrong so make it cause an error.
Fixes FS#12540.

Also, use bash substitution rather than spawning new processes where
possible in the error checking.  Move split package detection to a
better position.

Signed-off-by: Allan McRae <allan@archlinux.org>
[Dan: backport to maint]
Signed-off-by: Dan McGee <dan@archlinux.org>
doc/PKGBUILD.5.txt
scripts/makepkg.sh.in