summarylogtreecommitdiffstats
path: root/wine-python.sh
blob: c41caeeee959f9000cc5d60060dca454d44c744e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

export PYTHONHOME=/usr/@TRIPLE@

if test -z "${PYTHONPATH}"
then
  export PYTHONPATH=/usr/@TRIPLE@/lib/python@PYVER@
else
  export PYTHONPATH="${PYTHONPATH};/usr/@TRIPLE@/lib/python@PYVER@"
fi

# https://bugs.winehq.org/show_bug.cgi?id=51813
set -o pipefail
@TRIPLE@-wine /usr/@TRIPLE@/bin/python@PYVER@.exe "$@" | tee