td2026 713 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. td_root="${PRODU2_TD_ROOT:-/data/anlogic/TD_Release_2026.1_SP2_NL}"
  4. td_runtime="${PRODU2_TD_RUNTIME_LIB:-/data/prod2u/td-runtime/lib}"
  5. td_runtime_root="${PRODU2_TD_RUNTIME_ROOT:-/data/prod2u/td-runtime/root}"
  6. export LD_LIBRARY_PATH="${td_root}/lib:${td_root}/lib/Qt/lib:${td_runtime}:${td_runtime_root}/usr/lib/x86_64-linux-gnu:${td_runtime_root}/lib/x86_64-linux-gnu"
  7. export QT_PLUGIN_PATH="${td_root}/lib/Qt/plugins"
  8. export QT_QPA_PLATFORM=offscreen
  9. # The vendor td.sh overwrites LD_LIBRARY_PATH and drops the persistent
  10. # libusb runtime above. Execute the same vendor binary directly so the
  11. # subprocess-scoped dependency set remains intact.
  12. exec "${td_root}/bin/td" "$@"