Temporary hack/workaround: prefix paths in CONFIG_PROTECT. These paths
authorFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:28:35 +0000 (17:28 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:28:35 +0000 (17:28 -0000)
should ideally be prefixed.

svn path=/main/branches/prefix/; revision=4667

bin/emerge

index 726b744e1c3a60e4240cb73bde770a976b0c8af7..316bb279a2a7b0089de428744f73677cbc9d2a8b 100755 (executable)
@@ -2459,6 +2459,7 @@ def chk_updated_cfg_files():
                #number of directories with some protect files in them
                procount=0
                for x in string.split(portage.settings["CONFIG_PROTECT"]):
+                       x = portage_const.EPREFIX + x;
                        if os.path.isdir(x):
                                a=commands.getstatusoutput("cd "+x+"; find . -iname '._cfg????_*'")
                                if a[0]!=0: