From f38c8ba711978eede6821851afeabe9ee335666e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 16 Feb 2015 10:48:21 +0100 Subject: [PATCH] xbps-src: fix per pkg options declared in etc/conf (close #973). --- common/xbps-src/shutils/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 424c32c5638..2156f647471 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -79,8 +79,8 @@ msg_normal_append() { } set_build_options() { - local f j opt optval _optsset pkgopts - local -A options _pkgname + local f j opt optval _optsset pkgopts _pkgname + local -A options if [ -z "$build_options" ]; then return 0 @@ -118,7 +118,7 @@ set_build_options() { for f in ${!options[@]}; do optval=${options[$f]} if [[ $optval -eq 1 ]]; then - eval build_option_${f}=1 + eval export build_option_${f}=1 fi done