Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-02 23:18:20 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-03 14:55:21 -0500
commitb6252a0b6cd229fa315cecd06478d8bf0476ac1c (patch)
tree9d35e5c2ac7bea6c19056a2ca0f00523f9056bc0 /archbuild.in
parent97214cf1095e457e393350bfd03c9481708e72d8 (diff)
lib/common.sh: Adjust to work properly with `set -u`
Support for working with `set -u` was broken by 94160d6. Egg on my face; I'm the one who wants `set -u` support, and I'm the author of that commit! libmakepkg does not work with `set -u`; but mostly because of the include guards! So we just need to temporarily disable `set -u` (nounset) while loading libmakepkg. Instead of introducing a new variable, just store the initial nounset status in _INCLUDE_COMMON_SH; rather than a useless fixed-string "true". While we're at it, disable POSIX-mode (just in case we're running as "sh" instead of "bash"), since libmakepkg uses bash-isms that won't parse in POSIX mode.
Diffstat (limited to 'archbuild.in')
0 files changed, 0 insertions, 0 deletions