projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38375d3
)
Overwrite the existing fetch log so that it only contains the most recent fetch.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 18 Jun 2006 00:43:28 +0000
(
00:43
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 18 Jun 2006 00:43:28 +0000
(
00:43
-0000)
svn path=/main/trunk/; revision=3526
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index cb66603fe010ae2a2d1f7123007726eb808a8877..8cd9f367640f7a5da30153d4503cf5111c5860d9 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-1937,7
+1937,7
@@
class depgraph:
sys.stderr.close()
time.sleep(3) # allow the parent to have first fetch
fetchlog = "/var/log/emerge-fetch.log"
- sys.stdout = open(fetchlog, "
a
")
+ sys.stdout = open(fetchlog, "
w
")
sys.stderr = sys.stdout
os.dup2(sys.stdout.fileno(), 1)
os.dup2(sys.stderr.fileno(), 2)