diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-02 23:18:20 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-03 14:21:18 -0500 |
commit | b5856cda2a5e1be18d2685eff2c05fe0dba2487f (patch) | |
tree | 2e08fc908cf32bc9b34f1981750a5e10a2c73ce7 /archrelease.in | |
parent | ee1309e88370340802ec612080efc24e48bd5063 (diff) | |
download | devtools32-b5856cda2a5e1be18d2685eff2c05fe0dba2487f.tar.xz |
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 'archrelease.in')
0 files changed, 0 insertions, 0 deletions