From bd526277b7876cd3aa60336edd2b188a50033935 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Sat, 21 Sep 2024 14:59:43 +0200 Subject: [PATCH] Move cp out of loop --- run-ib-pr-matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-ib-pr-matrix.sh b/run-ib-pr-matrix.sh index 1c5c8b07112..55d855370be 100755 --- a/run-ib-pr-matrix.sh +++ b/run-ib-pr-matrix.sh @@ -91,8 +91,8 @@ pushd "$WORKSPACE/matrix-results" for log in $(ls step*.log);do echo ${log} | cut -d_ -f1 >> ${memFile} grep "Memory Report: " $log | tail -5 >> ${memFile} - cp ${memFile} ${memFileName} done + cp ${memFile} ${memFileName} popd done fi