diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2019-11-06 02:29:11 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-11-06 03:03:38 +0100 |
commit | 3a814ee6bca9ee24a868c0dc032b321048a53e08 (patch) | |
tree | 5d1722228354306d2820b0bc169e15c950f19a32 /test/scripts/makepkg-template-tests/invalid-template-line-unknown-marker/PKGBUILD | |
parent | 424129e8d1e91987a9799a49391f1271b069c5cf (diff) | |
download | pacman-3a814ee6bca9ee24a868c0dc032b321048a53e08.tar.gz pacman-3a814ee6bca9ee24a868c0dc032b321048a53e08.tar.xz |
makepkg: replaces sed in-place with built in substitution
Reads PKGBUILD into an array and replaces the pkgver and pkgrel with
bash parameter substitution, then uses shell redirection to write to to
the file. Because shell redirection follows symlinks, this accomplishes
the same thing as the previous default of using the GNU-specific
--follow-symlinks sed flag.
Removes SEDPATH and SEDINPLACEFLAGS from the build systems as they are
not used elsewhere.
Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts/makepkg-template-tests/invalid-template-line-unknown-marker/PKGBUILD')
0 files changed, 0 insertions, 0 deletions