makepkg: deal with variable substitution when checking sanity
commitc28052e45b94437d8c476c648ad6c9f9b8c04f36
authorAllan McRae <allan@archlinux.org>
Thu, 18 Aug 2011 13:01:29 +0000 (18 23:01 +1000)
committerDan McGee <dan@archlinux.org>
Thu, 18 Aug 2011 15:50:17 +0000 (18 10:50 -0500)
treedee28c2c5e0812a50852533e7ba1e00d87c3ad4f
parent2a466c2abc94ce835efac94510659af006bd4330
makepkg: deal with variable substitution when checking sanity

If any of pkgver, pkgrel or epoch contained a variable substitution,
then it needed to be evaluated before checking its value conformed
to the rules.

[Dan: add quotes around RHS]

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