Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/finddeps.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-09-03 03:53:39 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-02 12:36:10 -0500
commitbc601188743a10e1865c61e28417427dc11e2cda (patch)
tree7d95336c77bb5498d7598d970d55d7f03cf46478 /finddeps.in
parent7a3c5085017987b6ef934cf9d9b098b4994ba21a (diff)
makechrootpkg: Fix unconditionally running namcap
Fixes regression in 2fd5931a8c67289a8a4acd327b3ce99a5d64c8c7 $run_namcap will always be set to "" `if $not_a_var; then ...; fi` is always truthful when $not_a_var is unset or equal to "" and the `then` clause will always be run. I'm not sure why global state variables need to be cloned locally for their sole explicit purpose. But for now this patch implements the minimum necessary work to properly pass the "do I want namcap" variable into prepare_chroot() according to the current logic flow. Note that I have still not thorougly tested makechrootpkg. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Reviewed-by: Luke Shumaker <lukeshu@parabola.nu>
Diffstat (limited to 'finddeps.in')
0 files changed, 0 insertions, 0 deletions