mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-05 23:02:26 +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 PYTHONHOME
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
# Portable install case
|
||||
if [ -d "portable_env" ]; then
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export PYTHONNOUSERSITE=1
|
|||
unset PYTHONPATH
|
||||
unset PYTHONHOME
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
# Portable install case
|
||||
if [ -d "portable_env" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue