diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-08-13 21:20:58 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-29 14:58:32 +1000 |
commit | 16f6aae33087ec04c1dc90aa84f7d3dde4333046 (patch) | |
tree | a776574440a883155b1401aaaebb2e8759e871a3 /scripts/po | |
parent | 48c8f9f2a24632dabe5b1c74a474e3940ddd8748 (diff) | |
download | 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 'scripts/po')
0 files changed, 0 insertions, 0 deletions