diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-10-14 09:13:28 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-15 12:40:53 +1000 |
commit | 968486ecc0c20f3b075ad9b903b9df862621610a (patch) | |
tree | 7e05474af37372e7b2d6ed9b4df7e67c7b4524f9 /scripts/po/pt.po | |
parent | e049bb8bd6bb3b8aacf371abde937d2270cfa451 (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 'scripts/po/pt.po')
0 files changed, 0 insertions, 0 deletions