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=
|
APORTSDIR=
|
||||||
fi
|
fi
|
||||||
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}
|
BUILDDIR=${_BUILDDIR-$BUILDDIR}
|
||||||
PKGDEST=${_PKGDEST-$PKGDEST}
|
PKGDEST=${_PKGDEST-$PKGDEST}
|
||||||
SRCPKGDEST=${_SRCPKGDEST-$SRCPKGDEST}
|
SRCPKGDEST=${_SRCPKGDEST-$SRCPKGDEST}
|
||||||
|
Reference in New Issue
Block a user