]>
gitweb.michael.orlitzky.com - bash.d.git/blob - compilation
3 # Grab CFLAGS, etc. from our profile after first processing its parent
5 load_profile_defaults
() {
7 if [ -f "${profile}/parent" ]; then
8 for parent
in $(cat "${profile}/parent"); do
9 local _parent_path
="${profile}/${parent}"
10 load_profile_defaults
"${_parent_path}"
14 if [ -f "${profile}/make.defaults" ]; then
15 .
"${profile}/make.defaults"
19 load_profile_defaults
/etc
/portage
/make.profile
22 # and from make.conf, allowing the values in make.conf to override the
23 # ones in the profile.
24 if [ -f /etc
/portage
/make.conf
]; then
25 .
/etc
/portage
/make.conf
29 # Not a portage variable, but it's real handy.
30 REPOS
="${DISTDIR}/../repositories"
32 # These are really the only variables that make sense to export to
33 # subsequent commands.