makepkg: disable extglob when sourcing BUILDSCRIPT
commit31432edcbe484a5fca01abff77359061ae813fcc
authorAllan McRae <allan@archlinux.org>
Sat, 11 Feb 2012 04:15:38 +0000 (11 14:15 +1000)
committerDan McGee <dan@archlinux.org>
Sat, 11 Feb 2012 20:53:33 +0000 (11 14:53 -0600)
tree94a12ba98d0a2194d4d1d320aba72eee64f0bdf3
parent9b1ab3d76713d99a11d8da2204557856d59bd3a5
makepkg: disable extglob when sourcing BUILDSCRIPT

PKGBUILDs are advertised as being pure bash so it would be expected
that the default bash options are in effect when sourcing it.

This inadvertantly "fixes" FS#27780 where enabling extglob causes
the bash parser to error on non-valid bash function names like
package_libxml++(). Note that these function names are unsupported
in bash and could break again even with this "fix" in future bash
releases.

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