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
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. $XBPS_CONFIG_FILE 2>/dev/null
|
|
||||||
|
|
||||||
for f in ${build_options}; do
|
for f in ${build_options}; do
|
||||||
_pkgname=${pkgname//\-/\_}
|
_pkgname=${pkgname//\-/\_}
|
||||||
|
@ -223,6 +222,8 @@ setup_pkg() {
|
||||||
|
|
||||||
unset_package_funcs
|
unset_package_funcs
|
||||||
|
|
||||||
|
. $XBPS_CONFIG_FILE 2>/dev/null
|
||||||
|
|
||||||
if [ -n "$cross" ]; then
|
if [ -n "$cross" ]; then
|
||||||
source_file $XBPS_CROSSPFDIR/${cross}.sh
|
source_file $XBPS_CROSSPFDIR/${cross}.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue