summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index ddc848695..92bef7035 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1932,6 +1932,9 @@ class depgraph:
sys.stderr = open("/dev/null","w")
os.dup2(sys.stdout.fileno(), 1)
os.dup2(sys.stdout.fileno(), 2)
+ # wipe the mtimedb so that portage doesn't attempt to flush it.
+ # do not convert this code away from a fork without correcting this.
+ portage.mtimedb = None
for x in ("autoaddcvs", "cvs"):
try: myfeat.remove(x)
except ValueError: pass