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