xbps-src: setup_pkg: re-read conf file to propagate vars to build.sh.
This commit is contained in:
parent
451411ad21
commit
439807df63
|
@ -95,7 +95,6 @@ set_build_options() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
. $XBPS_CONFIG_FILE 2>/dev/null
|
||||
|
||||
for f in ${build_options}; do
|
||||
_pkgname=${pkgname//\-/\_}
|
||||
|
@ -223,6 +222,8 @@ setup_pkg() {
|
|||
|
||||
unset_package_funcs
|
||||
|
||||
. $XBPS_CONFIG_FILE 2>/dev/null
|
||||
|
||||
if [ -n "$cross" ]; then
|
||||
source_file $XBPS_CROSSPFDIR/${cross}.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue