doebuild: avoid redundant distfiles checks
authorZac Medico <zmedico@gentoo.org>
Thu, 15 Sep 2011 05:34:38 +0000 (22:34 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 15 Sep 2011 05:34:38 +0000 (22:34 -0700)
pym/portage/package/ebuild/doebuild.py

index ba7ebc3ad2505a0f4b692bdc36ed387825213635..427589a6bce4c7419d38719968f752145f77633c 100644 (file)
@@ -860,7 +860,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                                        return 0
                                return 1
 
-               if mydo == "fetch":
+               if need_distfiles:
                        # Files are already checked inside fetch(),
                        # so do not check them again.
                        checkme = []