From f7c94bed68765a6155ad3b7b59541b24008a6d2e Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Tue, 14 Jul 2026 23:00:17 +0200 Subject: [PATCH] Fix LD_LIBRARY_PATH usage in final-migration runner (use default if unset) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- final-migration/run_final_migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/final-migration/run_final_migration.sh b/final-migration/run_final_migration.sh index e7a1e01b4..41601e77e 100755 --- a/final-migration/run_final_migration.sh +++ b/final-migration/run_final_migration.sh @@ -16,6 +16,6 @@ done # Run inside Docker: perform clean build directory, configure with Qt6, build and run ctest ./app/run_docker.sh ../sandbox -- bash -lc \ - "set -euo pipefail && export LD_LIBRARY_PATH=/opt/Qt/6.8.3/gcc_64/lib:\$LD_LIBRARY_PATH && export QT_QPA_PLATFORM=offscreen && rm -rf /repo/build && cmake -S /repo -B /repo/build -G Ninja -DCMAKE_PREFIX_PATH=/opt/Qt/6.8.3/gcc_64 -DBUILD_WS=ON -DBUILD_TESTING=ON && cmake --build /repo/build -- -j${JOBS} && ctest --test-dir /repo/build --output-on-failure" + "set -euo pipefail && export LD_LIBRARY_PATH=/opt/Qt/6.8.3/gcc_64/lib:${LD_LIBRARY_PATH:-} && export QT_QPA_PLATFORM=offscreen && rm -rf /repo/build && cmake -S /repo -B /repo/build -G Ninja -DCMAKE_PREFIX_PATH=/opt/Qt/6.8.3/gcc_64 -DBUILD_WS=ON -DBUILD_TESTING=ON && cmake --build /repo/build -- -j${JOBS} && ctest --test-dir /repo/build --output-on-failure" echo "Final migration build + tests complete. See ./build for artifacts and test logs in ./build/Testing/Temporary." \ No newline at end of file