Path fixes
Don't accidentally overwrite the path of the OS, and hopefully it now properly updates the variable
This commit is contained in:
parent
e790a4f9be
commit
b5c3a6c016
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue