mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-21 06:30:05 +00:00
functions.sh: fix ABUILD_USERDIR overwrite in ABUILD_CONF
This commit is contained in:
parent
1804361f61
commit
20c0a15856
@ -2633,6 +2633,7 @@ rootbld() {
|
||||
--setenv CARCH "$CARCH" \
|
||||
--setenv HOME "$HOME" \
|
||||
--setenv REPODEST "$REPODEST" \
|
||||
--setenv ABUILD_USERDIR "$ABUILD_USERDIR" \
|
||||
${ABUILD_BOOTSTRAP:+--setenv ABUILD_BOOTSTRAP "$ABUILD_BOOTSTRAP"} \
|
||||
--setenv SOURCE_DATE_EPOCH "$SOURCE_DATE_EPOCH" \
|
||||
--setenv ABUILD_LAST_COMMIT "$ABUILD_LAST_COMMIT" \
|
||||
|
@ -98,11 +98,11 @@ readconfig() {
|
||||
[ -n "${USE_COLORS+x}" ] && _USE_COLORS="$USE_COLORS"
|
||||
[ -n "${USE_CCACHE+x}" ] && _USE_CCACHE="$USE_CCACHE"
|
||||
: ${ABUILD_DEFCONF:=${ABUILD_SHAREDIR:-$sharedir}/default.conf}
|
||||
[ -f "$ABUILD_DEFCONF" ] && . "$ABUILD_DEFCONF"
|
||||
: ${ABUILD_CONF:=$sysconfdir/abuild.conf}
|
||||
[ -f "$ABUILD_CONF" ] && . "$ABUILD_CONF"
|
||||
: ${ABUILD_USERDIR:=$HOME/.abuild}
|
||||
: ${ABUILD_USERCONF:=$ABUILD_USERDIR/abuild.conf}
|
||||
[ -f "$ABUILD_DEFCONF" ] && . "$ABUILD_DEFCONF"
|
||||
[ -f "$ABUILD_CONF" ] && . "$ABUILD_CONF"
|
||||
[ -f "$ABUILD_USERCONF" ] && . "$ABUILD_USERCONF"
|
||||
APORTSDIR=${_APORTSDIR-$APORTSDIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user