mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Path fixes
Don't accidentally overwrite the path of the OS, and hopefully it now properly updates the variable
This commit is contained in:
@@ -13,7 +13,7 @@ while true ; do
|
|||||||
-i|--init)
|
-i|--init)
|
||||||
init=$2 ; shift 2 ;;
|
init=$2 ; shift 2 ;;
|
||||||
-p|--path)
|
-p|--path)
|
||||||
path=" --path $2" ; shift 2 ;;
|
mpath=" --path $2" ; shift 2 ;;
|
||||||
-c|--configname)
|
-c|--configname)
|
||||||
configname=" --configname $2" ; shift 2 ;;
|
configname=" --configname $2" ; shift 2 ;;
|
||||||
-n|--ngrok)
|
-n|--ngrok)
|
||||||
@@ -74,7 +74,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Redefine the Path to be in the relevant location
|
# Redefine the Path to be in the relevant location
|
||||||
path = $xloc$path
|
mpath="$xloc$mpath"
|
||||||
|
|
||||||
# Create Folder Structure and Install KoboldAI
|
# Create Folder Structure and Install KoboldAI
|
||||||
if [ "$init" != "skip" ]; then
|
if [ "$init" != "skip" ]; then
|
||||||
|
Reference in New Issue
Block a user