Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 15:00:12 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-15 15:00:12 -0500
commit2c504b8edc4f5ffde99323a65442675402cbd83b (patch)
treebb8b4299955350b054e30ed36fc05fb6b756f213 /makechrootpkg.in
parentdf3eee40d3ff0a6c8532a1d19bad25d057330cd2 (diff)
mkarchroot: Don't let the environment affect pacstrap (sans proxy settings).
A previous iteration of this change (libretools commit d7dcce53396d) simply inserted `env -i` to clear the environment. However, that lead to it ignoring proxy settings, which some users had problems with: https://labs.parabola.nu/issues/487: > To fix other bugs, the pacstrap environment is blank, which also > means that the proxy settings are blank. So (in libretools commit d17d1d82349f), I changed it to use `declare -x` to inspect the environment, and create a version of it only consisting of variables ending with "_proxy" (case-insensitive). I honestly don't remember what "other bugs" prompted me to clear the environment in the first place.
Diffstat (limited to 'makechrootpkg.in')
0 files changed, 0 insertions, 0 deletions