summaryrefslogtreecommitdiffstats
path: root/.gitignore
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 /.gitignore
parente049bb8bd6bb3b8aacf371abde937d2270cfa451 (diff)
downloadpacman-968486ecc0c20f3b075ad9b903b9df862621610a.tar.xz
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions