diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 718409775c2..8035cb4d67a 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -128,6 +128,8 @@ set_build_options() { optval=${options[$f]} if [[ $optval -eq 1 ]]; then eval export build_option_${f}=1 + else + eval unset build_option_${f} fi done