aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 12:53:11 +0300
committerGitHub <noreply@github.com>2023-04-29 12:53:11 +0300
commit1dc21d79509cd1437f4bf150872fefdeeaf54ab8 (patch)
treed68d67684a654d9669b576df55da208c9072bc7a /webui.sh
parentb06205eaf6fc8cb98c317ca6f82bb048a5034f72 (diff)
parent152ed34ccc603c77703ae3bcb3d570a32a8cc7d9 (diff)
Merge pull request #9677 from weidongkl/master
fix install_dir error
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.sh b/webui.sh
index 8cdad22d..07355eab 100755
--- a/webui.sh
+++ b/webui.sh
@@ -23,7 +23,7 @@ fi
# Install directory without trailing slash
if [[ -z "${install_dir}" ]]
then
- install_dir="/home/$(whoami)"
+ install_dir="${HOME}"
fi
# Name of the subdirectory (defaults to stable-diffusion-webui)