From 93ba2edb6eaa837e087c3c194f1a5aed192cddb1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 13 Jul 2006 19:29:09 +0000 Subject: [PATCH] Make the merge phase bail out if srcroot doesn't exist for bug #140159. svn path=/main/trunk/; revision=3857 --- pym/portage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/portage.py b/pym/portage.py index acaefa30b..4ff350ce7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6200,6 +6200,11 @@ class dblink: # secondhand = list of symlinks that have been skipped due to # their target not existing (will merge later), + if not os.path.isdir(srcroot): + writemsg("!!! Directory Not Found: D='%s'\n" % srcroot, + noiselevel=-1) + return 1 + if not os.path.exists(self.dbcatdir): os.makedirs(self.dbcatdir) -- 2.26.2