From 30e9d2eb5f36b63d08ee262291e1116b68989664 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 3 Dec 2024 21:34:40 -0600 Subject: [PATCH] Syntax? --- run-britney | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-britney b/run-britney index f1cc699..58318aa 100755 --- a/run-britney +++ b/run-britney @@ -21,10 +21,10 @@ SCRIPT_PATH="fetch-indexes" MAX_LOG_AGE=86400 # 24 hours in seconds # Ensure the log directory exists -mkdir -p "$LOG_DIR" +mkdir -p $LOG_DIR # Log rotation: Remove logs older than MAX_LOG_AGE -find "$LOG_DIR" -type f -mtime +1 -exec rm -f {} \; +find $LOG_DIR -type f -mtime +1 -exec rm -f {} \; # Execute the fetch-indexes script for each release and log output for release in plucky oracular noble; do