fi
if [ -f "${profile}/make.defaults" ]; then
- . "${profile}/make.defaults"
+ if [ -r "${profile}/make.defaults" ]; then
+ . "${profile}/make.defaults"
+ fi
fi
}
# and from make.conf, allowing the values in make.conf to override the
# ones in the profile.
if [ -f /etc/portage/make.conf ]; then
- . /etc/portage/make.conf
+ if [ -r /etc/portage/make.conf ]; then
+ . /etc/portage/make.conf
+ fi
fi
# These are really the only variables that make sense to export to