From 25a4192c07578795244eccfa4841ac9068529c62 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 3 Dec 2024 22:03:23 -0600 Subject: [PATCH] Make Britney work --- run-britney | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-britney b/run-britney index 014a870..9f39e62 100755 --- a/run-britney +++ b/run-britney @@ -15,9 +15,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Configuration LOG_DIR="/srv/lubuntu-ci/output/logs/britney" SCRIPT_PATH="/srv/lubuntu-ci/repos/ci-tools/fetch-indexes" -MAX_LOG_AGE=86400 # 24 hours in seconds # Ensure the log directory exists mkdir -p $LOG_DIR @@ -30,7 +30,7 @@ for release in plucky oracular noble; do export RELEASE="$release" # Log file named by current UTC time (HH-MM-SS) - LOG_FILE="$LOG_DIR/$RELEASE_$(date -u +"%H-%M-%S").log" + LOG_FILE="$LOG_DIR/${release}_$(date -u +"%H-%M-%S").log" echo "$(date -u +"%Y-%m-%d %H:%M:%S") - Running Britney for $RELEASE" >> "$LOG_FILE" "$SCRIPT_PATH" >> "$LOG_FILE" 2>&1