common/shutils: fix configuration loading during setup_pkgs

This commit is contained in:
Enno Boland 2018-06-29 11:26:27 +02:00
parent fc39e99826
commit 08d510ab87
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -286,7 +286,7 @@ setup_pkg() {
unset_package_funcs unset_package_funcs
( . $XBPS_CONFIG_FILE 2>/dev/null ) . $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