pacman/scripts
Eli Schwartz 238fa4af45 makepkg: fix broken check for the fakeroot binary
In commit d8ee8d0c99 we made use of
fakeroot absolutely mandatory, and disabled a lot of the code which
checked to see if this now-defunct BUILDENV option was set, before
setting up the environment to use fakeroot. Unfortunately, we missed one
spot.

The check_software routine still checked to see if fakeroot was
enabled, but due to the option being removed, thought that it was in
fact disabled, and as a result this check would never run.

Fix by checking to see if we are trying to build either a package or a
source package, and if so, checking for fakeroot. These are the only two
situations where fakeroot is needed.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-01-10 13:25:12 +10:00
..
completion bash-completion: disable completions for pacman --search operations 2018-10-21 19:33:57 +10:00
libmakepkg makepkg: fix broken check for the fakeroot binary 2019-01-10 13:25:12 +10:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +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 makepkg: add internal variable to track when we're building a package 2019-01-10 13:25:12 +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: don't break if delta package sources contain epoch 2019-01-04 11:15:16 +10:00
wrapper.sh.in scripts: pass on options such as set -x to child processes 2018-08-10 15:20:40 +10:00