mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Make it possible to run a portable Web UI build via a symlink (#7277)
This commit is contained in:
parent
24fd2b4dec
commit
138cc654c4
|
|
@ -5,7 +5,7 @@ export PYTHONNOUSERSITE=1
|
||||||
unset PYTHONPATH
|
unset PYTHONPATH
|
||||||
unset PYTHONHOME
|
unset PYTHONHOME
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
|
|
||||||
# Portable install case
|
# Portable install case
|
||||||
if [ -d "portable_env" ]; then
|
if [ -d "portable_env" ]; then
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ export PYTHONNOUSERSITE=1
|
||||||
unset PYTHONPATH
|
unset PYTHONPATH
|
||||||
unset PYTHONHOME
|
unset PYTHONHOME
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
|
|
||||||
# Portable install case
|
# Portable install case
|
||||||
if [ -d "portable_env" ]; then
|
if [ -d "portable_env" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue