From 1bb22c032d0baf7c4f6d935aa3559a5ccf91ba40 Mon Sep 17 00:00:00 2001 From: Mohamed Elneily Date: Sun, 29 Dec 2024 20:19:04 +0200 Subject: [PATCH] fix: Remove the extra space in the log file names (#3212) Update `_lib.sh` to remove the extra space in the log file name. This fixes the log files name not being included in `.gitinore` --- scripts/_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_lib.sh b/scripts/_lib.sh index 7ec51eecac..a742f8acc5 100755 --- a/scripts/_lib.sh +++ b/scripts/_lib.sh @@ -76,7 +76,7 @@ MINIMIZE_DOWNTIME="${MINIMIZE_DOWNTIME:-}" STOP_TIMEOUT=60 # Save logs in order to send envelope to Sentry -log_file=sentry_"$cmd"_log-$(date +'%Y-%m-%d_%H-%M-%S').txt +log_file=sentry_"${cmd%% *}"_log-$(date +'%Y-%m-%d_%H-%M-%S').txt exec &> >(tee -a "$log_file") version=""