pacman/scripts
Eli Schwartz d626a17ef9 makepkg: make per-package files containing '$pkgname' consistently work
Extracting function variables containing arbitrarily scoped variables of
arbitrary nature is a disaster, but let's at least cover the common case
of using the actual '$pkgname' in an install/changelog file. It's the
odd case of actually being basically justified use of disambiguating
between the same variable used in multiple different split packages...
and also, --printsrcinfo already uses and overwrites the variable
'pkgname' in pkgbuild_extract_to_srcinfo, so this "works" in .SRCINFO
but doesn't work in .src.tar.gz

It doesn't work in lint_pkgbuild either, but in that case the problem is
being too permissive, not too restrictive -- we might end up checking
the same file twice, and printing that it is missing twice.

Fixes FS#64932

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2020-01-27 17:53:50 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: make per-package files containing '$pkgname' consistently work 2020-01-27 17:53:50 +10:00
po scripts/library: remove human_to_size 2019-11-06 15:52:21 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
Makefile.am build: remove use of handcrafted m4 in configuring scripts 2019-11-06 16:11:53 +10:00
makepkg-template.pl.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
makepkg.sh.in makepkg: make per-package files containing '$pkgname' consistently work 2020-01-27 17:53:50 +10:00
meson.build meson: make non-symlink scripts install for real, and use a better wrapper 2019-11-26 10:49:57 +10:00
pacman-db-upgrade.sh.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
pacman-key.sh.in Remove "Generated from ...; do not edit by hand" from scripts 2019-11-06 15:46:59 +10:00
repo-add.sh.in repo-add: use wc -c on stdin instead of file to avoid use of cut 2019-11-07 21:40:44 +10:00
wrapper.sh.in Update copyright years 2019-10-23 22:06:54 +10:00