Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/updpkgsums.sh.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-10-14 09:13:28 -0400
committerAllan McRae <allan@archlinux.org>2013-10-15 12:40:53 +1000
commit968486ecc0c20f3b075ad9b903b9df862621610a (patch)
tree7e05474af37372e7b2d6ed9b4df7e67c7b4524f9 /contrib/updpkgsums.sh.in
parente049bb8bd6bb3b8aacf371abde937d2270cfa451 (diff)
makepkg: validate updated pkgver before replacement
Validate the new pkgver efore blindly ramming it into the PKGBUILD. This gives us good feedback and prevents corrupting the PKGBUILD, e.g. ==> Starting pkgver()... ==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace. ==> ERROR: pkgver() generated an invalid version: a horse is not a pkgver As an additional failsafe, exchange a valid for invalid character as command separator in @SEDINPLACE@ expressions. For even more paranoia, exit if sed fails for any reason. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/updpkgsums.sh.in')
0 files changed, 0 insertions, 0 deletions