makepkg: use regex to match options for privilege escalation
commit298cbf2cb152df365a593a396266636a9d34355f
authorAllan McRae <allan@archlinux.org>
Thu, 5 Aug 2010 10:44:34 +0000 (5 20:44 +1000)
committerDan McGee <dan@archlinux.org>
Tue, 24 Aug 2010 02:49:44 +0000 (23 21:49 -0500)
tree62432f489393cf222b41379a30c8a834846113f6
parent48589ccc64c5e7266f70c6294087e8b0450953e9
makepkg: use regex to match options for privilege escalation

Eases maintanence if we need to add further options in the future.

Extracted from a patch supplied by Andres P <aepd87@gmail.com>

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