]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGPP/benchmark/benchmark.sh
improve logging of the aliroot command line
[u/mrichter/AliRoot.git] / PWGPP / benchmark / benchmark.sh
index ba6fc5aad6f00ee28320553f4d795ae9e9e59e38..5b105c9887099a0728164ddfe7d5d67aef5d5956 100755 (executable)
@@ -2588,7 +2588,7 @@ aliroot()
     profilerLogFile="cpu.txt"
     [[ "${args[@]}" =~ rec ]] && profilerLogFile="cpu_rec.txt"
     [[ "${args[@]}" =~ Calib ]] && profilerLogFile="cpu_calib.txt"
-    echo running "${useProfilingCommand} aliroot ${args} &> ${profilerLogFile}"
+    echo running "${useProfilingCommand} aliroot ${args[@]} &> ${profilerLogFile}"
     ${useProfilingCommand} aliroot "${args[@]}" &> ${profilerLogFile}
   else
     #to prevent an infinite recursion use "command aliroot" to disable