makepkg: use mapfile where plausible
commit9d3e59e311a863e140699dd2eaec7c0b0bf632f4
authorDave Reisner <dreisner@archlinux.org>
Sun, 13 May 2012 02:13:11 +0000 (12 22:13 -0400)
committerDan McGee <dan@archlinux.org>
Sun, 20 May 2012 22:39:21 +0000 (20 17:39 -0500)
treefef07f447f86e39d08bbc6e175be6d14151223c9
parentc2fdc38b78d9b83e783ff2ec3f8c4d53e7f45634
makepkg: use mapfile where plausible

With bash4 as a requirement, we can use mapfile when reading command
output into an array. mapfile has the advantage of using block buffered
I/O rather than line buffered I/O, making it slightly faster for most
jobs.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
scripts/makepkg.sh.in