xbps-src: source msg_warn before its first use
This commit is contained in:
parent
9e738792ca
commit
cd01d78d8f
1 changed files with 7 additions and 6 deletions
13
xbps-src
13
xbps-src
|
@ -689,12 +689,6 @@ fi
|
||||||
|
|
||||||
check_build_requirements
|
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
|
# Read funcs from helpers
|
||||||
#
|
#
|
||||||
|
@ -702,6 +696,13 @@ for f in ${XBPS_SHUTILSDIR}/*.sh; do
|
||||||
[ -r "$f" ] && . $f
|
[ -r "$f" ] && . $f
|
||||||
done
|
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
|
reconfigure_base_chroot
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue