From ef2024a33be93a256beef28c1423ba1fb706383d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 22 Apr 2010 17:43:59 +0000 Subject: Support per-package bashrc files. Support loading per-package bashrc files from the /etc/portage/env directory. The invidual files should reside in a directory matching ${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF} (which are applied in that order). --- doc/config/bashrc.docbook | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/config') diff --git a/doc/config/bashrc.docbook b/doc/config/bashrc.docbook index 2f0626215..f36fec5e6 100644 --- a/doc/config/bashrc.docbook +++ b/doc/config/bashrc.docbook @@ -3,9 +3,17 @@ bashrc locations - If a bashrc file is located at /etc/portage/bashrc - then it will be sourced before an ebuild is executed. + If one or more bashrc files exist in the following locations, they will + be sourced before the ebuild is executed in the following order: + + + /etc/portage/bashrc + /etc/portage/env/${CATEGORY}/${PN} + /etc/portage/env/${CATEGORY}/${PN}:${SLOT} + /etc/portage/env/${CATEGORY}/${P} + /etc/portage/env/${CATEGORY}/${PF} + Ebuild Phase Hooks -- cgit v1.2.3-1-g7c22