]> gitweb.michael.orlitzky.com - bash.d.git/blobdiff - compilation
sage: set SAGE_DEBUG=no.
[bash.d.git] / compilation
index 487f251d9d1adeb2c4f7c2003e1634e524cc72af..ecc3dac9b13c53e6efd2e363d84d728ad9b299bc 100644 (file)
@@ -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,13 +24,11 @@ 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
 
-
-# Not a portage variable, but it's real handy.
-REPOS="${DISTDIR}/../repositories"
-
 # These are really the only variables that make sense to export to
 # subsequent commands.
 export CFLAGS