From a1c913518e860308495238ccede7f3d68d32dc67 Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Fri, 5 Jul 2024 15:12:34 +0200 Subject: [PATCH] a few improvements --- build_parallel.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build_parallel.sh b/build_parallel.sh index 9a08a32..32f7d99 100755 --- a/build_parallel.sh +++ b/build_parallel.sh @@ -151,7 +151,8 @@ tail -f ${build_dir}/python.log & tail_pid=$! wait $python_pid echo "Python is ready" -kill $tail_pid || true > /dev/null 2>&1 +kill $tail_pid +wait $tail_pid 2> /dev/null || true cmake --build ${build_dir} --target pythia8 > ${build_dir}/pythia8.log 2>&1 & pythia8_pid=$! @@ -163,7 +164,8 @@ tail -f ${build_dir}/pythia8.log & tail_pid=$! wait $pythia8_pid echo "Pythia8 is ready" -kill $tail_pid || true > /dev/null 2>&1 +kill $tail_pid +wait $tail_pid 2> /dev/null || true echo "Rerun combined build to ensure all dependencies are built"