makepkg: ensure OPTIONS is not directly altered
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d0c10a795e
commit
267a0cc912
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue