1
0

apprun.sh 360 B

1234567891011121314
  1. #! /bin/bash
  2. # Export APPRUN if running from an extracted image
  3. self="$(readlink -f -- $0)"
  4. here="${self%/*}"
  5. APPDIR="${APPDIR:-${here}}"
  6. # Export TCl/Tk
  7. export TCL_LIBRARY="${APPDIR}/usr/share/tcltk/tcl{{ tcl-version }}"
  8. export TK_LIBRARY="${APPDIR}/usr/share/tcltk/tk{{ tk-version }}"
  9. export TKPATH="${TK_LIBRARY}"
  10. # Call the entry point
  11. {{ entrypoint }}