pacman/scripts
Eli Schwartz 9f1b735d76 libmakepkg/executable: don't rely on scoped value of $ret to flag outcomes
Elsewhere, we return 1 if a library dropin fails, and when running
functions in a loop, we use `|| ret=1` to preserve scope. This ensures
the return value of the function remains useful in isolation. Do the
same thing here as well.

Drop trivial function which wraps a dropin that also uses $ret, since
it's no longer needed.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-12-04 17:22:27 +10:00
..
completion bash-completion: disable completions for pacman --search operations 2018-10-21 19:33:57 +10:00
libmakepkg libmakepkg/executable: don't rely on scoped value of $ret to flag outcomes 2018-12-04 17:22:27 +10:00
library buildsys: remove size_to_human 2018-11-27 22:48:43 +10:00
po buildsys: remove size_to_human 2018-11-27 22:48:43 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am scripts: make repo-add utilize a wrapper as well 2018-11-28 11:06:12 +10:00
makepkg-template.pl.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
makepkg.sh.in Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
meson.build scripts/meson: ensure wrapper scripts are executable 2018-11-27 22:48:43 +10:00
pacman-db-upgrade.sh.in Port scripts to use libmakepkg's messaging code. 2018-10-21 20:22:19 +10:00
pacman-key.sh.in pacman-key: just accept one file to verify, and enforce detached sigs 2018-11-03 21:56:09 +10:00
pkgdelta.sh.in Port scripts to use libmakepkg's messaging code. 2018-10-21 20:22:19 +10:00
repo-add.sh.in repo-add: print the name of the database when extracting 2018-11-03 21:57:03 +10:00
wrapper.sh.in scripts: pass on options such as set -x to child processes 2018-08-10 15:20:40 +10:00