Skip to content

Commit a9dd153

Browse files
authored
Set APPDIR if empty for usage extracted appimage
1 parent 7c1bce2 commit a9dd153

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

share/python-wrapper.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
SCRIPT=`realpath $0`
4+
SCRIPTPATH=`dirname $SCRIPT`
5+
APPDIR="${APPDIR:-$SCRIPTPATH/../..}"
6+
37
# Configure the environment
48
prefix="{{PREFIX}}"
59
export TCL_LIBRARY="${APPDIR}/${prefix}/share/tcltk/tcl"*

0 commit comments

Comments
 (0)