xbps-src: source msg_warn before its first use
This commit is contained in:
parent
9e738792ca
commit
cd01d78d8f
13
xbps-src
13
xbps-src
|
@ -689,12 +689,6 @@ fi
|
|||
|
||||
check_build_requirements
|
||||
|
||||
if [ -z "$IN_CHROOT" ]; then
|
||||
trap 'exit_func' INT TERM
|
||||
if [ -n "$XBPS_DISTFILES_MIRROR" ]; then
|
||||
setup_distfiles_mirror
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Read funcs from helpers
|
||||
#
|
||||
|
@ -702,6 +696,13 @@ for f in ${XBPS_SHUTILSDIR}/*.sh; do
|
|||
[ -r "$f" ] && . $f
|
||||
done
|
||||
|
||||
if [ -z "$IN_CHROOT" ]; then
|
||||
trap 'exit_func' INT TERM
|
||||
if [ -n "$XBPS_DISTFILES_MIRROR" ]; then
|
||||
setup_distfiles_mirror
|
||||
fi
|
||||
fi
|
||||
|
||||
reconfigure_base_chroot
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user