Fixed issues with encodings and wine / proton compatibilities.
This commit is contained in:
@@ -16,7 +16,7 @@ do
|
||||
then
|
||||
continue
|
||||
fi
|
||||
if "$python_bin" -I -c \
|
||||
if "$python_bin" -I -B -c \
|
||||
'import sys; sys.path.insert(0, sys.argv[1]); import ptlinux, ptlinux.cli' \
|
||||
"${candidate}" >/dev/null 2>&1
|
||||
then
|
||||
@@ -37,4 +37,4 @@ fi
|
||||
export PYTHONSAFEPATH=1
|
||||
export PYTHONPATH="${release_root}"
|
||||
|
||||
exec "$python_bin" -P -m ptlinux "$@"
|
||||
exec "$python_bin" -B -P -m ptlinux "$@"
|
||||
|
||||
Reference in New Issue
Block a user