summaryrefslogtreecommitdiffstats
path: root/cnf/make.globals
diff options
context:
space:
mode:
Diffstat (limited to 'cnf/make.globals')
-rw-r--r--cnf/make.globals3
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index 2892d5089..fcd0b41da 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -101,6 +101,9 @@ PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
# message should be produced.
PORTAGE_SYNC_STALE="30"
+# Executed before emerge exit if FEATURES=clean-logs is enabled.
+PORT_LOGDIR_CLEAN="find \"\${PORT_LOGDIR}\" -type f ! -name \"summary.log*\" -mtime +7 -delete"
+
# Minimal CONFIG_PROTECT
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d"