~thopiekar/pacman-pm/pacman

Viewing all changes in revision 5575.

  • Committer: Allan McRae
  • Author(s): Eli Schwartz
  • Date: 2019-05-28 01:13:40 UTC
  • Revision ID: git-v1:4c38f4b991e7ff7119ac4d2a0ff11ad20f46086e
libmakepkg: add lint_config to validate SRCEXT/PKGEXT

These variables must begin with .src.tar / .pkg.tar respectively, so
fail early if those expectations are not matched. This prevents makepkg
from creating e.g. package files literally named "./pacman-5.1.3-1-x86_64"
which are actually uncompressed tarballs.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: