X-Git-Url: http://gitweb.michael.orlitzky.com/?p=bash.d.git;a=blobdiff_plain;f=compilation;h=ecc3dac9b13c53e6efd2e363d84d728ad9b299bc;hp=5a1582b40f08103f87e5bfb5c9f5595ef7ea9713;hb=00c01a9c888728fba782c94db5baefbebb9386f1;hpb=fea20390a6c51a1756e517f47e03a9e15d83e3f6 diff --git a/compilation b/compilation index 5a1582b..ecc3dac 100644 --- a/compilation +++ b/compilation @@ -12,7 +12,9 @@ load_profile_defaults() { fi if [ -f "${profile}/make.defaults" ]; then - . "${profile}/make.defaults" + if [ -r "${profile}/make.defaults" ]; then + . "${profile}/make.defaults" + fi fi } @@ -22,7 +24,9 @@ load_profile_defaults /etc/portage/make.profile # 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