makepkg: ensure OPTIONS is not directly altered

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2025-02-20 09:52:34 +10:00
parent d0c10a795e
commit 267a0cc912

View file

@ -77,8 +77,8 @@ load_makepkg_config() {
source_makepkg_config "$MAKEPKG_CONF" source_makepkg_config "$MAKEPKG_CONF"
# prevent PKGBUILDs altering this directly # prevent altering these directly
readonly -a BUILDENV readonly -a BUILDENV OPTIONS
eval "$restore_envvars" eval "$restore_envvars"
} }