diff options
author | Michel Zou | 2018-07-17 18:35:11 +0200 |
---|---|---|
committer | Michel Zou | 2018-07-17 18:35:11 +0200 |
commit | e90e756d52124599b4e3819af1dfbe7501962b4f (patch) | |
tree | 3c79a8a137498c94569dbbfa2886627dc415238d /wine-python.sh | |
parent | 4eda9dcd35b38cbb68653adc1b1baa1e8f989bd4 (diff) | |
download | aur-mingw-w64-python-bin.tar.gz |
PYTHONPATH
Diffstat (limited to 'wine-python.sh')
-rw-r--r-- | wine-python.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wine-python.sh b/wine-python.sh index 19bb168e7b95..83601211eb50 100644 --- a/wine-python.sh +++ b/wine-python.sh @@ -3,6 +3,12 @@ set -e export PYTHONHOME=/usr/@TRIPLE@ -export PYTHONPATH=/usr/@TRIPLE@/lib/python@PYVER@ + +if test -z "${PYTHONPATH}" +then + export PYTHONPATH=/usr/@TRIPLE@/lib/python@PYVER@ +else + export PYTHONPATH="${PYTHONPATH};/usr/@TRIPLE@/lib/python@PYVER@" +fi @TRIPLE@-wine /usr/@TRIPLE@/bin/python@PYVER@.exe "$@" |