makepkg: Improve optdepends extraction
commitb6cada3eed82a305dbc656baa7f046a73dcce25a
authorAllan McRae <allan@archlinux.org>
Fri, 18 Mar 2011 05:17:53 +0000 (18 15:17 +1000)
committerDan McGee <dan@archlinux.org>
Sun, 20 Mar 2011 16:15:34 +0000 (20 11:15 -0500)
tree7333918014ab4c4dbffa7e3bb5e8b121227c749e
parentb48f71841712d1839f5e900f1ec0fdf5665354ba
makepkg: Improve optdepends extraction

Prevents issues where optdepends descriptions contain a bracket.
Also, strip all comments from arrays before joining them.

Fixes FS#23307.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in