From efaf9bdf0dc78aff5b63d5fd5be600cf860e301b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 21 Mar 2023 19:11:23 +0100 Subject: [PATCH] Update helper_stats_graphs.yaml --- .github/workflows/helper_stats_graphs.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helper_stats_graphs.yaml b/.github/workflows/helper_stats_graphs.yaml index 40dc67f5a..f08305af8 100644 --- a/.github/workflows/helper_stats_graphs.yaml +++ b/.github/workflows/helper_stats_graphs.yaml @@ -161,8 +161,8 @@ jobs: # If non null if [[ ${#FOLDER} -gt 2 ]]; then cp Stats3 StatsTmp - sed -n "/Date/p" Stats3 > StatsTmp - sed -n "/$TITLE/p" Stats3 >> StatsTmp + sed -n "/Date/p" Stats3 > "$FOLDER"/StatsTmp + sed -n "/$TITLE/p" Stats3 >> "$FOLDER"/StatsTmp # Transpose data awk ' { @@ -211,6 +211,7 @@ jobs: plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i) EOFMarker ) + rm StatsTmp cd .. || true fi done