pacman/scripts
Alad Wenter 7e79cf73fa makepkg: propagate E_REMOVE_BUILD_DEPS
remove_deps is called once, at the end of clean_up() before makepkg
exit. If remove_deps returns >0 (e.g. when pressing "n" in the resulting
prompt), the error is caught by the ERR signal handler. This in turns
sends SIGUSR1 to the process group, with resulting exit code 138.

In case remove_deps fails, this patch exits makepkg with E_REMOVE_DEPS
if there was no previous error (that is, EXIT_CODE equals E_OK).
Otherwise, makepkg exits with EXIT_CODE.

Signed-off-by: Allan McRae <allan@archlinux.org>
2019-10-07 17:09:23 +10:00
..
completion bash-completion: use POSIX character classes in regular expressions 2019-06-26 10:15:47 +10:00
libmakepkg Support file with seccomp enabled 2019-10-07 13:43:37 +10:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Prepare translations for next release 2019-08-12 11:42:10 +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 Support file with seccomp enabled 2019-10-07 13:43:37 +10:00
makepkg-template.pl.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
makepkg.sh.in makepkg: propagate E_REMOVE_BUILD_DEPS 2019-10-07 17:09:23 +10:00
meson.build libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
pacman-db-upgrade.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
pacman-key.sh.in pacman-key: clean keys on import to remove unknown signatures 2019-10-07 13:23:22 +10:00
repo-add.sh.in repo-add: Add --prevent-downgrade option 2019-05-28 11:08:21 +10:00
wrapper.sh.in scripts: pass on options such as set -x to child processes 2018-08-10 15:20:40 +10:00