diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-08-14 03:20:58 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-29 06:58:32 +0200 |
commit | 16f6aae33087ec04c1dc90aa84f7d3dde4333046 (patch) | |
tree | a776574440a883155b1401aaaebb2e8759e871a3 /proto/PKGBUILD-vcs.proto | |
parent | 48c8f9f2a24632dabe5b1c74a474e3940ddd8748 (diff) | |
download | pacman-16f6aae33087ec04c1dc90aa84f7d3dde4333046.tar.gz pacman-16f6aae33087ec04c1dc90aa84f7d3dde4333046.tar.xz |
makepkg: fix pkgver() function not aborting on errors
`run_function_safe pkgver` is evaluated in a subshell and therefore does
not abort when it should. Explicitly check the return outside of the
subshell and abort if necessary.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'proto/PKGBUILD-vcs.proto')
0 files changed, 0 insertions, 0 deletions