From b5c3a6c01686b27eae98fb2c0c959523453a2d77 Mon Sep 17 00:00:00 2001 From: henk717 Date: Tue, 11 Jan 2022 14:09:44 +0100 Subject: [PATCH] Path fixes Don't accidentally overwrite the path of the OS, and hopefully it now properly updates the variable --- colabkobold.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colabkobold.sh b/colabkobold.sh index 8ba4c621..c393e8a5 100644 --- a/colabkobold.sh +++ b/colabkobold.sh @@ -13,7 +13,7 @@ while true ; do -i|--init) init=$2 ; shift 2 ;; -p|--path) - path=" --path $2" ; shift 2 ;; + mpath=" --path $2" ; shift 2 ;; -c|--configname) configname=" --configname $2" ; shift 2 ;; -n|--ngrok) @@ -74,7 +74,7 @@ else fi # Redefine the Path to be in the relevant location -path = $xloc$path +mpath="$xloc$mpath" # Create Folder Structure and Install KoboldAI if [ "$init" != "skip" ]; then