mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 07:00:28 +00:00
functions: also honor .abuild file at gitbase
This permits introducing branch-specific modifications to abuild.conf settings. Any settings there override /etc/abuild.conf and $HOME/.abuild/abuild.conf.
This commit is contained in:
parent
cfa6c7d67a
commit
0f5feef3c2
@ -46,6 +46,8 @@ readconfig() {
|
||||
APORTSDIR=
|
||||
fi
|
||||
fi
|
||||
# source any .abuild file at the aports root, but only if we are currently in aports tree
|
||||
[ -n "$APORTSDIR" ] && [ -f "$APORTSDIR/.abuild" ] && [ "$APORTSDIR" = "$gitbase" ] && . "$APORTSDIR/.abuild"
|
||||
BUILDDIR=${_BUILDDIR-$BUILDDIR}
|
||||
PKGDEST=${_PKGDEST-$PKGDEST}
|
||||
SRCPKGDEST=${_SRCPKGDEST-$SRCPKGDEST}
|
||||
|
Loading…
Reference in New Issue
Block a user