summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-18 13:01:43 +0100
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-18 13:01:43 +0100
commite43e61a7784d769bf0f00f11db07c595c704114f (patch)
tree0138a27f35d99c519f37e5e40ad4822fcf37a888 /tinderbox-restart.sh
parentImprove the restart script. (diff)
downloadflameeyes-tinderbox-e43e61a7784d769bf0f00f11db07c595c704114f.tar.gz
flameeyes-tinderbox-e43e61a7784d769bf0f00f11db07c595c704114f.tar.bz2
flameeyes-tinderbox-e43e61a7784d769bf0f00f11db07c595c704114f.zip
Sacrifice the emerge-total.log file, and simply clear up emerge.log.
With a huge enough emerge-total.log, merging further logs in takes over a minute; doing so for each merge is definitely overkill.
Diffstat (limited to 'tinderbox-restart.sh')
-rwxr-xr-xtinderbox-restart.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh
index a356dc4..fda5a62 100755
--- a/tinderbox-restart.sh
+++ b/tinderbox-restart.sh
@@ -1,7 +1,6 @@
#!/bin/sh
reset_emergelog() {
- sed -i -e '$r /var/log/emerge.log' /var/log/emerge-total.log
rm -f /var/log/emerge.log
}