summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-06 17:04:36 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-06 17:04:36 +0000
commitacf30bf50b7260c2f004226fe9b0e3f0ea1f701c (patch)
tree98b3facf231b9c8e2dd3a7cf481805a6475473c6
parentb87ff97f05d7809942262b1fe535d3aef2e8441d (diff)
downloadportage-acf30bf50b7260c2f004226fe9b0e3f0ea1f701c.tar.gz
portage-acf30bf50b7260c2f004226fe9b0e3f0ea1f701c.tar.bz2
portage-acf30bf50b7260c2f004226fe9b0e3f0ea1f701c.zip
Allow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412.
svn path=/main/trunk/; revision=4416
-rw-r--r--pym/portage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index f94870b87..ef6f32c9c 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -501,8 +501,9 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None):
del e
continue
if myconfig is None:
- # file removed by a concurrent process
- raise portage_exception.FileNotFound(file_path)
+ # broken symlink or file removed by a concurrent process
+ writemsg("!!! File Not Found: '%s'\n" % file_path, noiselevel=-1)
+ continue
# process PATH, CLASSPATH, LDPATH
for myspec in specials.keys():
if myconfig.has_key(myspec):