From: Zac Medico Date: Thu, 13 Jul 2006 19:29:09 +0000 (-0000) Subject: Make the merge phase bail out if srcroot doesn't exist for bug #140159. X-Git-Tag: v2.1.1~232 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93ba2edb6eaa837e087c3c194f1a5aed192cddb1;p=portage.git Make the merge phase bail out if srcroot doesn't exist for bug #140159. svn path=/main/trunk/; revision=3857 --- 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)